We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2024-05-21 04:56 AM - edited 2024-05-21 05:37 AM
Hi experts,
Is there any way to add a custom property to an element using C++ API as of version 24?
I know there is ACAPI_Property_AddProperty() function in the recent versions version 27. But, I need to do the same in version 24.
I am also considering utilizing IFC property (which can be added manually in the settings dialog of an element). In that case, is it possible to add a new custom IFC property to an element using ACAPI_Element_SetIFCAttribute() function?
Solved! Go to Solution.
2024-06-25 11:59 AM
I found a pair of functions appropriate for my purpose (I should have asked about "Adding custom data to an element").
The functions ACAPI_Element_SetUserData() and ACAPI_Element_GetUserData() have been available since AC16, and they are exactly what I needed.
2024-06-25 11:59 AM
I found a pair of functions appropriate for my purpose (I should have asked about "Adding custom data to an element").
The functions ACAPI_Element_SetUserData() and ACAPI_Element_GetUserData() have been available since AC16, and they are exactly what I needed.