Analysis Modeler |
Creating Extrude with Symmetry Mesh Parts |
![]() |
This use case shows how to create extrude with symmetry mesh parts. This macro opens an Analysis document. The extrude with symmetry mesh part can create a 2D mesh from 1D mesh and 3D mesh from 2D mesh. In this macro 3D mesh is created from 2D mesh. Global specifications associated with the mesh part are set.
|
||||
![]() |
CAAAniMeshExtrudeSymm is launched in CATIA [1]. No open document is needed. CAAAniMeshExtrudeSymm.catvbs is located in the CAAScdAniUseCases module. Execute macro (Windows only).
|
||||
![]() |
CAAAniMeshExtrudeSymm 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 surface mesh part. 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 and ADL_ODT_SLASH environment variables must be defined. |
[Top]
This use case has shown how to create extrude with symmetry mesh parts and how to assign values to its global specifications.
Top]
[1] | Replaying a Macro |
[Top] |
Copyright © 2001, Dassault Systèmes. All rights reserved.