Cache Behavior - Intergraph Smart 3D - Help - Hexagon

Intergraph Smart 3D Catalog

Language
English
Product
Intergraph Smart 3D
Subproduct
Catalog
Search by Category
Help
Smart 3D Version
13

When editing catalog data, you need to understand the two caches that the software uses in regard to catalog data. A cache is a short-term storage location on the client machine used to speed up software performance by temporarily placing a copy of previously retrieved reference data on the client where the software can access that information more quickly the next time it is needed.

The Catalog Cache

When the software on the client computer queries for catalog data for the first time, the software caches the results of the query (piping specification rules, part data, and so forth) on the client. This cache eliminates the need for the client software to constantly query and get data from the database itself, avoiding poor performance during subsequent placement and re-computes. Currently, to ensure that this cache is cleared after you have modified the reference data, the modeling designer (the client user of catalog data) must exit the software, and then re-start the session.

The Symbols Cache

The symbol system has a caching mechanism for all symbols that share the same set of input parameters and same set of outputs. By default the cache mechanism is active. A single object is created for each unique set of parameters for a symbol. Each symbol that is placed after the initial symbol, using these same parameters, is connected to the first symbol and uses that symbol’s graphic object for display. Because the caching mechanism is automatic, it can sometimes cause problems when the symbol definition is changed.

A symbol definition (for example, a part) that has a non-parametric input will not be cached even if all the other inputs are parameters. However, if a custom method (CMcache) is written to convert the part into a parameter, then the symbol will be cached.

To make this change from a non-cached to cached for the case where non-cached symbols have already been placed in the model, the major version number of the symbol definition must be increased and the Tools Menu > Synchronize Model with Catalog Command command in the Project Management task run. If this is not done, then the change in the way the part input is treated results in an error as the symbols already placed in the model are expecting a part, and not a parameter, and will fail to compute. See the Smart 3D Reference Data.