assign_priorities#
- IcepakMesh.assign_priorities(assignment)[source]#
Set objects priorities.
- Parameters:
- assignment
List
[List
[Union
[Object3d
,UserDefinedComponent
,str
] List of lists of objects. Each list corresponds to one priority level from low to high. This means that the first list has the lowest priority while the last list has the highest priority. Objects not explicitly passed in the lists are assigned to a priority level lower than the objects in the first list.
- assignment
- Returns:
- bool
True
when successful, “False” when failed.
References
>>> oEditor.UpdatePriorityList
Examples
>>> ipk.mesh.assign_priorities([["Box1", "Rectangle1"], ["Box2", "Fan1_1"], ["Heatsink1_1"]])