Part Attributes


PART also provides basic attribute support. A generically-named attribute class assigns an attribute with a name (a text string) and a value (number, position, or text) to any entity. There are also functions for selecting entities based on these attributes.

Attributes use the inherent ACIS attribute mechanism, in which the ATTRIB class is derived from ENTITY. Consequently, attributes are generally saved and restored when the entity to which they are attached is saved to or restored from a file.

The following attribute classes are related to PART:

ATTRIB_GEN_ENTITY
Defines a generic attribute that owns an entity.
ATTRIB_GEN_INTEGER
Defines a generic attribute that contains an integer value.
ATTRIB_GEN_NAME
Defines a named attribute for the Generic Attributes component.
ATTRIB_GEN_POINTER
Defines a generic attribute that contains a reference to an entity.
ATTRIB_GEN_POSITION
Defines a generic attribute that contains a position.
ATTRIB_GEN_REAL
Defines a generic attribute that contains a real value.
ATTRIB_GEN_STRING
Defines a generic attribute that contains a string value.
ATTRIB_GEN_VECTOR
Defines a generic attribute that contains a vector.

[Top]