Analysis Modeler |
Creating Assembled Loads |
![]() |
This use case shows you how to create an assembled load. Here use of Edit/Search... capability through VB is also demonstrated. This macro opens an analysis assembly document and creates an assembled load. With the use of edit search all the objects with name "load" are selected and they are applied to the load set. An assembled load is an entity defined in an assembled analysis and therefore applied on the assembled mesh. This load is the concatenation of several loads defined in the sub analyses. This scenario is available only with the Generative Assembly Structural Analysis (GAS) product.
|
|||||
![]() |
CAAAniPreProAsmbldLoads is launched in CATIA [1]. No open document is needed. CAAAniPreProAsmbldLoads.catvbs is located in the CAAScdAniUseCases module. Execute macro (Windows only).
|
|||||
![]() |
CAAAniPreProAsmbldLoads 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
Extracting the analysis documents and analysis models
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, and Analysis Models. From analysis models we retrieve the Analysis Cases. Adding the assembled load set
Here we retrieve the static case, in which we want to add the assembled load. First the list of cases is retrieved from analysis model. From the first object of the list we obtain the analysis case by its index. The index of the analysis case is same as that of the position in which it appears in specification tree. Once we get the desired static case we retrieve the load set and analysis entities. To this list of analysis entities we add the assembled load.Searching through the selection and applying the selected objects
The selection interface allows the user to search objects by providing a search string. This is equivalent of selecting objects interactively through edit search. Here it is important to understand that all the objects which match the search criterion will be selected, this may include objects which do not qualify to be set as reference to assembled loads. These objects should be removed from the selection. Also since the search string is "load" the assembled load will also be selected but it should be added to itself hence this is prevented by explicit comparison with the name of set.Epilog
To run the macro interactively CATDocView environment variable must be defined. |
[Top]
This use case has shown how to create assembled loads and how to select object using the selection interface.
[Top]
[1] | Replaying a Macro |
[Top] |
Copyright © 2001, Dassault Systèmes. All rights reserved.