Setter methods to update physical object property values.
<set></set>
Setter Attributes
| Description |
| type= | Updates the object property
Example:
<set type="attribute" name=".smd" value="@my_result" />
The following Object values are available:
DCODE Updates object Aperture Dcode number: 10-20000
COMPOSITE Updates the composite level
PURPOSE Updates object purpose number (0-10000)
LAYER Assign layer using LAYER name. Dynamic Layer Types are also supported.
LAYER_NUM Updates layer number (0-10000)
LAYER_TYPE Updates layer type
LAYER_SUBTYPE Updates layer subtype
TOOL Updates the NC tool Number
NET Updates the net
REFDES Updates component reference designator
PACKAGE Updates component package name
WIDTH Updates object bounding-box width
HEIGHT Updates object bounding-box height
X Set the object insert point (X value).
Y Set the object insert point (Y value).
ATTRIBUTE Updates the attribute value. Requires attribute "name"
PROPERTY Updates the property value. Requires property "name"
|
| value= | New value to assign
Example:
<set type="attribute" name=".smd" value="@my_result" />
|
| name= | Optional. Used with type="attribute" or type="property"
Example:
<set type="attribute" name=".smd" value="yes" />
|
Examples:
<set type="layer" value="[top]" />
<set type="attribute" name=".pad_usage" value="toeprint" />