change_property

Modeler3DLayout.change_property(property_object, property_name, property_value, property_tab='BaseElementTab')[source]

Change an oeditor property.

Parameters
property_objectstr

Property Obcject name. It can be the name of excitation or field reporter. Eg. FieldsReporter:Mag_H, Excitations:Port1.

property_namestr

Property name. Eg. Rotation Angle

property_valuestr, list

Property value. It’s a string in case of single value. and a list of 3 elements in case of [X,Y,Z]

property_tabstr

Name of the tab to update. Default BaseElementTab. Other options are EM Design, FieldsPostProcessorTab.

Returns
bool

True if successful.

References

>>> oEditor.ChangeProperty