MoveGeomMex()
Move a mesh extrusion geom set to a new model entity.
Usage
MoveGeomMex(geom, model, new=False)
Parameters
- geom (string)
- The mesh extrusion geom set.
- model (string)
- The name of the model entity.
- new (boolean)
- Flag specifies whether to create a new geom set or use the old one.
Return Value
None
Errors
- The geom and model must not be None.
- If new = False then the geom must already exist.
Description
mexGeom = ROOT + RS + "Geom" + RS + "Mesh Extrusions"
geomChild = GetChildren( mexGeom )
for child in geomChild:
MoveGeomMex( geom = child, model = "MeshExt_1", new = True )