Inherits: AttributePosition < TextPosition < DesignItem < ScriptObject
An AttributePosition is visible instance of an Attribute attached to a particular DesignItem, such as a Component or a Pad.
Properties
| Name | Type | Get/Set | Brief |
|---|---|---|---|
| AttributeName | AttributeName | Yes/No | The AttributeName of the AttributePosition’s parent attribute. |
| IsOnAllPages | bool | Yes/No | No description provided. |
Methods
| Name | Returns | Arguments |
|---|---|---|
| Duplicate | AttributePosition | |
| String | str | page : Variant[Page, none]ignoreVariants : Variant[ bool, none] |
Property Details
AttributeName
Type: AttributeName
The AttributeName of the AttributePosition’s parent attribute.
IsOnAllPages
Type: bool
Method Details
Duplicate
Create a copy of an existing attribute position, for example to help you make a second copy of a Component Name on another layer.
Returns AttributePosition.
String
Get the text that this attribute position is currently displaying.
Returns str.
Arguments:
page: Variant[Page,none] - The page to look on. Must be specified if this attribute appears on all pages.ignoreVariants: Variant[bool,none] - Whether to ignore variants, defaulting to false.