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.

I need an example how to set IFC parameter on element

Anonymous
Not applicable
Hello,

Is it possible to set the value of IFC parameter on a single element (see the uploaded screenshot) ?

There is an exmaple IFCPresetCommands_test, but I don't understand what it does, when I run it in AC.

Also there are no examples about the IFC functions in the Api Reference.

All help will be highly appreciated

Julian
2 REPLIES 2
Ralph Wessel
Mentor
Take a look at ACAPI_Element_SetIFCProperty. Call this with:
1) The GUID of the target element
2) The details of the IFC property (identifiers, type, value)
Ralph Wessel BArch
Software Engineer Speckle Systems
Anonymous
Not applicable
Yes, thanks Ralph! Thats exactly what I was looking for : )