BIM Coordinator Program (INT) April 22, 2024

Find the next step in your career as a Graphisoft Certified BIM Coordinator!

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
Anonymous
Not applicable
Thanks Ralph
Learn and get certified!