Archicad 28 C++ API
|
Contains common information related to all attribute types. More...
#include <APIdefs_Attributes.h>
Public Attributes | |
API_AttrTypeID | typeID |
Type of the attribute; this identifies the attribute along with the index field. Refer to the API_AttrTypeID structure to see the possible attribute types. | |
API_AttributeIndex | index |
The attribute index is the current database index of the given attribute. References to any attribute are done through these indices. It goes from 1 to the maximum available attribute index for each attribute type. For pens the maximum value is always 255. | |
short | flags |
The attribute flags. Attribute type specific values are described in the individual attribute sections (where applicable). The following values are common for all types of attributes: | |
char | name [API_AttrNameLen] |
The name of the attribute as UTF-8 encoded C string, which appears in the appropriate dialogs. | |
API_Guid | guid |
The globally unique identifier (GUID) of the attribute; can be used for identifying attributes with ACAPI_Attribute_Get and ACAPI_Attribute_Search. | |
UInt64 | modiTime |
The last time the attribute was modified as GSTime . | |
GS::UniString * | uniStringNamePtr |
Optional parameter for accessing the name of the attribute in UniString (UTF-16 encoded) format. | |
Contains common information related to all attribute types.
API_Attr_Head::flags |
The attribute flags. Attribute type specific values are described in the individual attribute sections (where applicable). The following values are common for all types of attributes:
Value | Description |
---|---|
APIAttr_IsClientCreated | In teamwork mode, indicates whether an attribute was created by the client and not sent with the changes yet. Such an attribute can still be modified or deleted in teamwork mode (output only) |