We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

Archicad C++ API
About Archicad add-on development using the C++ API.

How to get "IfcColumnType" property with C++ API?

HKM
Contributor

How to get "IfcColumnType" property with C++ API?
I can get the "IfcColumn" property, but I cannot get the "IfcColumnType" property.
"IfcColumn" properties can be obtained using "ACAPI_Element_GetIFCProperties(element.header.guid, false, &lstPset)".
Windows10
Archicad26

2 REPLIES 2
kuvbur
Enthusiast

Did you try ACAPI_Element_GetIFCType?

GSErrCode  ACAPI_Element_GetIFCType (
        const API_Guid&                 elementID,
        GS::UniString*                  ifcType,
        GS::UniString*                  typeObjectIFCType
    );

Structural engineer, developer of free addon for sync GDL param and properties

"ACAPI_Element_GetIFCType" is different.

The "IfcColumnType" property is required.
This is the property in the red frame in the attached image.
Note)The "IfcColumn" property can be obtained using "ACAPI_Element_GetIFCProperties".


IfcColumnType.jpg