SetPropertyValue
Sets the value of a single propertybelonging to a specific PropServer and PropTab. This function is available with the Project, Design or Editor objects, including definition editors.This is not supported for properties of the following types: ButtonProp, PointProp, V3DPointProp, and VPointProp. Only the ChangeProperty command can be used to modify these properties.
Use the script recording feature and edit a property, and then view the resulting script entry or use GetPropertyValue for the desired property to see the expected format.
| UI Access | N/A | |||||||||||||||
| Parameters |
|
|||||||||||||||
| Return Value | None. |
| Python Syntax | SetPropertyValue(<propTab>, <propServer>, <propName>, <propValue>) |
| Python Example |
|