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.

Additional Parameter in Wall Element

Anonymous
Not applicable
Hi guys,

i want to create a Wall and add some additional parameters to it.
How could i add custom parameter to a wall element or other elements.
5 REPLIES 5
Ralph Wessel
Mentor
Justsmile wrote:
i want to create a Wall and add some additional parameters to it. How could i add custom parameter to a wall element or other elements.
To add data to any ArchiCAD element, use ACAPI_Element_SetUserData. To make this visible/editable for the user, read the section headed Custom panels in settings dialogs.
Ralph Wessel BArch
Anonymous
Not applicable
The Parameter which are visible/editable for the user are they accessible for other Add ons as well?

Thanks for your quick response
Ralph Wessel
Mentor
Justsmile wrote:
The Parameter which are visible/editable for the user are they accessible for other Add ons as well?
No - at least not directly. But you could provide an interface for other add-ons to call into your add-on (with ACAPI_Command_Call) to retrieve the data.
Ralph Wessel BArch
Anonymous
Not applicable
What about a button like "Add a new parameter"? Didn't Graphisoft make it?
Anonymous
Not applicable
One day, the whole issue of "should this data be IN the model, or should it be linked TO the model?" will hopefully go away, to be replaced by the question "Which datasets do you want in the model now for such-and-such use cases?"
Learn and get certified!