Analysis Modeler |
Creating Extrude with Translation Mesh Parts |
![]() |
This use case shows how to create a extrude with translation mesh parts. This macro opens an Analysis document. Extrude with translation mesh part can create a 2D mesh from 1D mesh and 3D mesh from 2D mesh. In this macro 3D mesh from 2D mesh is created. Global specifications associated with the mesh part set.
|
||||
![]() |
CAAAniMeshExtrudeTrans is launched in CATIA [1]. No open document is needed. CAAAniMeshExtrudeTrans.catvbs is located in the CAAScdAniUseCases module. Execute macro (Windows only).
|
||||
![]() |
CAAAniMeshExtrudeTrans 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 List of Mesh Parts and Publications
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 Models and the Mesh Manager Objects. The extraction of pre-defined geometric elements is done with the help of Reference interface. This is equivalent to the selection of B-Rep elements inside the interactive application. In this macro reference is created from the published face. Creating the Mesh Part and Assigning Values to its Attributes.
The extruded mesh can be manipulated with the parameters like distribution type ( Uniform, Arithmetic, Geometric) number of layers, symmetry and ratio. To set these parameters we retrieve the list of basic components (BCs) from the mesh. From the first element of the list we retrieve one more list of the BCs. Then we retrieve each of the BC by its name and set the values.Epilog
To run the macro interactively CATDocView environment variable must be defined. |
[Top]
This use case has shown how to create extrude with translation mesh part and how to assign values to its global specifications.
[Top]
[1] | Replaying a Macro |
[Top] |
Copyright © 2001, Dassault Systèmes. All rights reserved.