Attribute Class

From Derivative
Revision as of 14:51, 14 September 2017 by Admin (talk | contribs) (Attribute Class Auto Create)
Jump to navigation Jump to search

An Attribute describes a general geometric Attribute, associated with a Prim Class, Point Class, or Vertex Class. Specific values for each Prim, Point or Vertex are described with the AttributeData Class. Lists of attributes for the SOP are described with the Attributes Class.


default(Read Only):

The default values associated with this attribute. Dependent on the type of attribute, it may return a float, integer, string, tuple, Position, or Vector.

size(Read Only):

The number of values associated with this attribute. For example, a normal attribute has a size of 3.

type(Read Only):

The type associated with this attribute: float, integer or string.

name(Read Only):

The name of this attribute.

owner(Read Only):

The OP to which this object belongs.




Destroy the attribute referenced by this object.

n = scriptOP.pointAttribs['N'].destroy()

{{{{HelpbodyEnd}}}} {{{{History}}}} {list}