AddAssignmentTo

Adds a new geometry assignment to a mesh setup. To use this command, first call the MeshSetup module, and then call AddAssignmentTo.

UI Access Select an object, then right click on the Mesh operation in the Project tree and select Add Assignment To.
Parameters
Name Type Description
<MeshOpName> String Name of the Mesh operation to add entity to
<Assignment> Array Structured array.

[ "Objects:=", <AssignmentObjects>,

"Faces:=", <AssignmentFaces>]

Return Value None.

 

Python Syntax AddAssignmentTo(<MeshOpName>,<Assignment>)
Python Example

oModule = oDesign.GetModule("MeshSetup")

oModule.AddAssignmentTo("SurfApprox1",

[

"Objects:=" , ["Inner_arm"]

])