The Application Resources Management (ARM) System is a runtime component used by applications to ask for physical resources. This system is based on a catalog, called ARM catalog that references physical resources.
The catalog is a standard CATIA catalog created in the Catalog Editor. It must be based on a fixed structure containing the following keywords:
|
|
|
|
|
|
|
|
|
|
|
ARM catalogs are to be stored in the CATIA runtime view (in the
KnowledgeResourceCatalogs
directory) in order to be taken into account
by the Application Resources Management system. ARM uses the concatenation of
CATKnowledgePath
and CATKnowledgeBuildPath
to store (buildtime
view) and retrieve (runtime view) the Knowledge resources.
Queries performed on the catalog are based on the logical names, on the
location, and also on the resource type. The system first finds an ARM catalog
which has to be stored in the knowledgeResourcesCatalogs
directory, then finds a row where the logical name is equal to the logical name
given as an input, then reaches the physical resource attached to the catalog
component. If a type of the resource is provided, it checks that the type of
the physical resource found is correct and raises an error if it is not the
case. If the resource is not found and is required, the system tries to find it
under a KnowledgeResources
directory (determined by the same
concatenation as the KnowledgeResourcesCatalogs
one).
Depending on the type of the resource, the system looks for a file with the following extension:
|
.CATPart |
|
.CATPart |
|
.CATPart |
|
CATProduct |
|
.CATProduct |
|
.CATProduct |
|
.CATPart |
|
.CATDrawing |
|
.CATProduct |
|
.CATProcess |
To get an example, see Creating an ARM Catalog. Note that examples are also provided in the BKT User's Guide (Instantiating an Assembly Template From an ARM Catalog) and in the PKT User's Guide (Creating a Knowledge Pattern, Generating Datum Features Using the Knowledge Pattern and Instantiating a User Feature Using the Knowledge Pattern.)