MoveGeomVol()
Move a volume geom set to a new model entity.
Usage
MoveGeomVol( geom, model, new=False, geomList = None )
Parameters
- geom (string)
- The volume 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.
- geomList (list)
- The geom volume list.
Return Value
None
Errors
- The geom and model must not be None.
- If new ='False' then the geom must already exist.
Description
geomVol = ROOT + RS + "Geom" + RS + "Volumes"
geomChild = GetChildren( geomVol )
MoveGeomVol( geom = geomChild, model = "Fluid",
new = True, geomList = geomChild )