GetAssignment for Boundaries or Excitations

Gets a list of face IDs associated with the given boundary or excitation assignment. First call the BoundarySetup module, and then call Get Assignment.

Note: GetAssignment replaces the GetBoundaryAssignment command of previous releases.
UI Access N/A
Parameters
Name Type Description
<BoundaryName> String Name of the specified boundary or excitation.
Return Value Array of face IDs or object IDs.

 

Python Syntax GetAssignment(<BoundaryName>)
Python Example

oModule = oDesign.GetModule("BoundarySetup")

oModule.GetAssignment("VectorPotential1")

Returns

['4535', '4536', '4537', '4538']