change_property#
- Modeler3DLayout.change_property(assignment, name, value, aedt_tab='BaseElementTab')#
Change an oeditor property.
- Parameters:
- assignment
str
Name of the property object. It can be the name of an excitation or field reporter. For example,
Excitations:Port1
orFieldsReporter:Mag_H
.- name
str
Name of the property. For example,
Rotation Angle
.- value
str
,list
Value of the property. It is a string for a single value and a list of three elements for
[x,y,z]
coordianates.- aedt_tab
str
Name of the tab to update. Options are
BaseElementTab
,EM Design
, andFieldsPostProcessorTab
. The default isBaseElementTab
.
- assignment
- Returns:
- bool
True
when successful,False
when failed.
References
>>> oEditor.ChangeProperty