API_​IFCAttribute

IFC attribute structure.

    typedef struct {
        GS::UniString     attributeName;
        GS::UniString     attributeType;
        GS::UniString     attributeValue;
        bool              hasValue;
        bool              readOnly;
    } API_IFCAttribute;

 

Members

attributeName
Name of the attribute
attributeType
IFC type of the attribute in string format
attributeValue
Value of the attribute in string format
hasValue
In case of optional attributes it says if the attribute is set and checked on the user interface
If the attribute is not optional it must be true
readOnly
Whether the attribute is read-only

 

Remarks

This structure contains the data of an IFC attribute.
Attributes of an IFC type are a fix list, so this structure can be used to get and modify attributes only.
readOnly flag of an attribute cannot be changed, it is informational only.

 

Requirements

Version: API 16 or later
Header: APIdefs_Elements.h