change_property#

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

Change an oeditor property.

Parameters:
property_objectstr

Name of the property object. It can be the name of an excitation or field reporter. For example, Excitations:Port1 or FieldsReporter:Mag_H.

property_namestr

Name of the property. For example, Rotation Angle.

property_valuestr, list

Value of the property. It is a string for a single value and a list of three elements for [x,y,z] coordianates.

property_tabstr

Name of the tab to update. Options are BaseElementTab, EM Design, and FieldsPostProcessorTab. The default is BaseElementTab.

Returns:
bool

True when successful, False when failed.

References

>>> oEditor.ChangeProperty