MoveGeomNbc()

Move a node geom set to a new model entity.

Usage

MoveGeomNbc( geom, model, new=False )

Parameters

geom (string)
The node 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.

None

Errors

• The geom and model must not be None.
• If new = 'False' then the geom must already exist.

Description

This routine moves a node geom set to a new model entity. If new is False, it only works on a geom set that is already in the node model entities and only moves the geom from one model to another one. If new is True, then you have a new geom, hence it does not move but creates a new set for a node model. For example,
nodeGeom = ROOT + RS + "Geom" + RS + "Nodes"
geomChild = GetChildren( nodeGeom )
for child in geomChild:
MoveGeomNbc( geom = child, model = "Node_1", new = True )