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

3 REPLIES 3
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
HKM
Contributor

Does anyone have any knowledge on this?
Currently, I am exporting to an IFC file and analyze the properties, but I would like to improve the internal processing of the add-on.