MoveMeshSrf()
Move a surface mesh set to a new model entity.
Usage
MoveMeshSrf( mesh, model, new=False, meshList = None, modelList = None )
Parameters
- mesh (string)
- The surface mesh set.
- model (string)
- The name of the model entity.
- new (boolean)
- Flag specifies whether to create a new mesh set or use the old one.
- meshList (none)
- The mesh surfaces list.
- modelList (none)
- The model surfaces list.
Return Value
None
Errors
- The mesh and model must not be None.
- If new = 'False' then the mesh must already exist.
Description
meshSrf = ROOT + RS + "Mesh" + RS + "Surfaces"
modelSrf = ROOT + RS + "Model" + RS + "Surfaces"
meshChild = GetChildren( meshSrf )
modelChild = GetChildren( modelSrf )
MoveMeshSrf( mesh = meshChild, model = "Fluid",
new = True, meshList = meshChild, modelList = modelChild )