Attribute Object

This object represents an attribute of an object (a net, component, block, or other object) on a schematic.

The following table lists methods and properties of the Attribute object with links to the respective reference pages:

Table 1. Attribute Object Methods and Properties

Method or Property

Description

Delete Method (Attribute Object)Deletes the attribute.
DeleteInstanceValue Method (Attribute Object)Deletes the instance value from the attribute.
GetLocation Method (Attribute Object)Returns the coordinates of the attribute taking the form of a Point Object.
GetOatFull Method (Attribute Object)Gets an instance value from within a particular context in the design.
GetObjectColor Method (Attribute Object)Gets the color in which the attribute is drawn.
IsColorAutomatic Method (Attribute Object)Determines if the attribute has an automatic color set.
SetAutomaticColor Method (Attribute Object)Sets or unsets the color of an attribute object as the automatic color for attributes.
SetLocation Method (Attribute Object)Specifies the location for an attribute.
SetObjectColor Method (Attribute Object)Sets the color in which the Attribute is drawn.
Application Property (Attribute Object)Returns the Application Object.
Child Property (Attribute Object)Returns the child Block Object of the attribute.
EitherValue Property (Attribute Object)Returns or sets the value of the attribute.
Font Property (Attribute Object)Returns or sets the font that is used to draw the attribute.
InstanceValue Property (Attribute Object)Returns or sets the instance (OAT) value for an attribute.
Name Property (Attribute Object)Returns the name of the attribute.
Orientation Property (Attribute Object)Returns or sets the attribute orientation.
Origin Property (Attribute Object)Returns or sets one of the nine origins that is used for this attribute.
Parent Property (Attribute Object)Returns the parent Block Object for the attribute.
Selected Property (Attribute Object)Sets the selection status of the attribute.
Size Property (Attribute Object)Returns or sets the text size for the attribute.
TextString Property (Attribute Object)Returns or sets the string associated with an attribute.
Type Property (Attribute Object)Returns the attribute type.
Value Property (Attribute Object)Returns or sets the attribute's regular value even if the attribute has an instance (OAT) value.
Visible Property (Attribute Object)Returns or sets the visibility of the attribute.