Analysis Modeler |
Creating Octree Triangle Mesh Parts |
![]() |
This use case shows how to create octree triangle mesh part in an existing analysis document. This scenario requires "FEM Surface (FMS) product". This macro opens an Analysis document. Octree trianlge mesh part is created and global specifications associated with this mesh part are set. The local specification: MSHLocalMeshSize is created specifying the edge of the hole as support. The mesh part is updated to generate mesh.
|
||||
![]() |
CAAAniMeshOctTriangle is launched in CATIA [1]. No open document is needed. CAAAniMeshOctTriangle.catvbs is located in the CAAScdAniUseCases module. Execute macro (Windows only).
|
||||
![]() |
CAAAniMeshOctTriangle 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 by using the Reference interface. This is equivalent to the selection of a B-Rep elements inside the interactive application. In this macro the reference is created from the published edge and published face. Creating the Mesh Part and Assigning Values to its Attributes.
The association with the geometry of octree mesh part is established with the use of the method AddSupportFromPublication. All the global specifications are set using their names. To create a local mesh of specified size around an edge the global specification MSHLocalMeshSize is created. Epilog
To run the macro interactively CATDocView environment variable must be defined. |
[Top]
This use case has shown how to create octree triangle mesh parts and how to assign values to its local and global specifications.
[Top]
[1] | Replaying a Macro |
[Top] |
Copyright © 2001, Dassault Systèmes. All rights reserved.