A mesh part is defined by a model component of MeshComponent type (a
mesh component). A mesh component contains a single meshing sequence and a geometry that defines the dimension, selections, and geometrical properties such as the length and angular unit. When you work with a Mesh Part node in the user interface, you can modify the meshing sequence of the mesh component. When working with the API it is important to be aware of the corresponding mesh component and its geometry.
where <mcomptag> is the tag of the mesh component,
<mgeomtag> is the tag of the geometry,
sDim is its space dimension (1, 2, or 3), and
<tag> is the mesh part’s tag.
Use model.component(<ctag>).geom(<mgeomtag>) to access the geometry properties, such as length units (see
model.geom(<tag>)).
To work with the mesh part, use model.mesh(<tag>), see the sections above in
Working with a Meshing Sequence and
Table 4-1, the column with header Mesh Defining its Own Geometric Model, for details.
For using a mesh part in a model component, see Import Mesh Part or Meshing Sequence under Geometry Commands to create a geometry from the part, or
Import under Mesh Commands to use the resulting mesh as an imported mesh.