SetPropertyValue (Layout Editor)

Use: Sets the value of one property. This is not supported for properties of the following types: ButtonProp, PointProp, and VPointProp. Only the ChangeProperty command can be used to modify these properties. This can be executed by the oProject, oDesign, or oEditor objects.

Command: None

Syntax: SetPropertyValue <PropTab>, <PropServer>, <PropName>, <PropValue>

Return Value: None

Parameters: <PropValue>

Type: String

Contains the value to set the property. The formatting is different

depending on what type of property is being edited. Use

GetPropertyValue for the desired property to see the expected

format.

Example: oEditor.SetPropertyValue

"BaseElementTab","rect_1",

"LineWidth", "3mm"