Using Mesh-Based Geometries
A mesh-based geometry is sometimes used by the automatic cleanup. For more information, see Geometry Cleanup. See also Geometric Model.
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.