Analysis Modeler |
Activating - Deactivating Images |
![]() |
This use case shows you how to change activation status of image. The macro opens an Analysis document which already contains a computed Frequency case and image. The activation status of "Translational displacement vector.1" image is changed.
| ||||
![]() |
CAAAniPostProAcDesact is launched in CATIA [1]. No open document is needed. CAAAniPostProAcDesact.catvbs is located in the CAAScdAniUseCases module. Execute macro (Windows only).
| ||||
![]() |
CAAAniPostProAcDesact includes the following steps:
Prolog
Open the Analysis document. The Analysis document is retrieved in the documentation
installation path, this path has already been stored in the Retrieve Analysis Cases and Analysis Sets from Analysis Document
According to the general Analysis Document structure, this macro uses some standard procedures to navigate or retrieve the required objects. First, from the Document, we find the Analysis Manager Object, the Analysis Model. The Analysis case is retrieved from list of cases by its index. The model contains only one analysis case hence we pass 1 to the method Item. Otherwise we pass the appropriate index of the desired analysis case if there are more Analysis cases. The analysis case is retrieved from the list of image by its name. The name is same as that appears in the tree, in the interactive environment. Changing the Activation Status
Epilog
To run the macro interactively CATDocView environment variable must be defined. |
[Top]
This use case has shown how to change the activation status of an image.
[Top]
[1] | Replaying a Macro |
[Top] |
Copyright © 2001, Dassault Systèmes. All rights reserved.