Using Mesh-Based Geometries
A mesh-based geometry is a geometric model defined by a mesh, in contrast to a standard geometry that is defined through operations in a geometry sequence. The mesh in a mesh-based geometry cannot be used for computations but must be meshed using a meshing sequence that operates on the mesh-based geometry. For more information, see Mesh-Based Geometry. See also Geometric Model and Geometry Cleanup.
To create a meshing sequence or a mesh-based geometry sequence, use
model.mesh().create(<mtag>,<type>,<gtag>);
where <mtag> is the mesh’s tag (an identifier of your choice) and <gtag> is the tag of the associated geometry. Set <type> to Sequence to create an ordinary meshing sequence and set it to Geometry to create a mesh-based geometry sequence.
Use
model.mesh(<mtag>).isGeometry();
to check if the meshing sequence <mtag> is a mesh-based geometry.