MoveGeomSrf()
Move a surface geom set to a new model entity.
Usage
MoveGeomSrf( geom, model, new=False, geomList = None, modelList = None )
Parameters
- geom (string)
- The surface 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 surface list.
- modelList (list)
- The model surface list.
Return Value
None
Errors
- The geom and model must not be None.
- If new = 'False' then the geom must already exist.
Description
nodeGeom = ROOT + RS + "Geom" + RS + "Surfaces"
nodeModel = ROOT + RS + "Model" + RS + "Surfaces"
geomChild = GetChildren( nodeGeom )
modelChild = GetChildren( nodeModel )
for child in geomChild:
MoveGeomSrf( geom = child, model = "Inlet", new = True, geomList = geomChild, modelList = modelChild )