add_priority

IcepakMesh.add_priority(entity_type, obj_list, comp_name=None, priority=3)[source]

Add priority to objects.

Parameters
entity_typeint

Type of the entity. Options are 1 and 2, which represent respectively an object and a component.

obj_listlist

List of objects, which can include conductors and dielctrics.

comp_namestr, optional

Name of the component. The default is None.

priorityint, optional

Level of priority. The default is 3.

Returns
bool

True when successful, False when failed.

References

>>> oEditor.UpdatePriorityList