Archicad 30 C++ API
Loading...
Searching...
No Matches
API_AttributeCreationInfo Struct Reference

Creation metadata attached to an attribute. More...

#include <APIdefs_Attributes.h>

Public Attributes

API_AttrCreationMethod methodID
 Identifier of the creation method or workflow.
 
GS::UniString methodDescription
 Human-readable description of the creation method.
 
GS::UniString source
 Source of the attribute creation.
 
GS::UniString creatorUserName
 Name of the user who created the attribute.
 
GSTime creationTime
 Creation time (UTC).
 

Detailed Description

Creation metadata attached to an attribute.

Since
Archicad 30
Remarks
Provides information about how and by whom an attribute was created. These values are populated by the host when the attribute is inserted into the set and can be queried via helper functions (e.g., Attribute_GetCreationInfo). Not all fields may be available for legacy or imported attributes.

Member Data Documentation

◆ creationTime

GSTime API_AttributeCreationInfo::creationTime

Creation time (UTC).

Standard C++ time point representing when the attribute was created.

◆ creatorUserName

GS::UniString API_AttributeCreationInfo::creatorUserName

Name of the user who created the attribute.

The Teamwork user name or the OS login name for solo projects at the time of creation.

◆ methodDescription

GS::UniString API_AttributeCreationInfo::methodDescription

Human-readable description of the creation method.

Provides a user-friendly description of how the attribute was created, which can be useful for auditing and debugging purposes.

◆ methodID

API_AttrCreationMethod API_AttributeCreationInfo::methodID

Identifier of the creation method or workflow.

Represents the method used when the attribute was created (e.g., UI Command, Merge, API call, Import, ...).

◆ source

GS::UniString API_AttributeCreationInfo::source

Source of the attribute creation.

Human-readable origin information (e.g. file name, Add-on name).