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.

[Solved] Attach user parameters to an ArchiCad part

Anonymous
Not applicable
Hi,
how can i add custom properties to an ArchiCad model and preserve those properties through a save, load cycle in AC;
I would like to attach some custom string and numeric data, sort of like BIM info to any chosen part.

Thanks
Dimi
2 REPLIES 2
Ralph Wessel
Mentor
christop wrote:
how can i add custom properties to an ArchiCad model and preserve those properties through a save, load cycle in AC;
I would like to attach some custom string and numeric data, sort of like BIM info to any chosen part.
Yes, take a look at ACAPI_Element_SetUserData. This function allows you to attach any data to an element and retrieve it with ACAPI_Element_GetUserData
Ralph Wessel BArch
Software Engineer Speckle Systems
Anonymous
Not applicable
Thanks Ralph