|
|
Concept |
|
Using the SmarTeam 3D Live Open In Catia functionality, a 3D Live user can load specific parts/products from an assembly in a CATIA session. In order to work, the instances information of the assembly must be stored in the SmarTeam database. After the information is stored, CATIA can provide SmarTeam with this information when saving an assembly. However, the instances information of assemblies that were already saved in SmarTeam with previous releases is not stored. This functionality provides a tool to save the instances information of several CATIA products selected in SmarTeam by the user. The tool may be automated to run on the entire database. For each CATIA Product selected by the user in SmarTeam, the links between the corresponding CATDocument file and its children are updated with the instances information (instance name + positioning matrix + instance activity). The pre-existing information already stored in SmarTeam before the operation on this item remains unchanged. The process eventually goes on through the item’s children if this operation is specified when the operation is launched. Before the implementation of this functionality, the user had to manually check out the assembly from SmarTeam, open it in CATIA, make a modification and save it again to store the instances information. This functionality allows:
|
|
|
|
ProcedureIn order to implement this functionality the following steps must be performed: |
|
|
Add the function to the contextual menuTo run the batch, add the script to the SmarTeam User Defined Tools Menu as described below. This operation has to be done only the first time the script is run:
|
|
|
Set the environment |
To allow the storing of the instance information (name + position matrix) in SmarTeam:
| |
|
|
Run the script |
|
Prerequisites
To run the script:
|
![]()