Archicad C++ API
About Archicad add-on development using the C++ API.

How can I access "IFC Properteis" from Add-on which is made

Anonymous
Not applicable
How can I access "IFC Properteis" from Add-on which is made by myself?

I tried these functions "ACAPI_Element_GetProperties" and "ACAPI_Element_GetDescriptors",
but it does not work.( I can not read data by these functions. )


I tried to find where is the IFC property data stored, and I think that the add-on "IFC2x3.apx" or
"IFC_Common.apx" has data in their "user data" area.
(When I removed these IFC addons, the input area about IFC properties on Element Setting Dialog were removed, too.)

But I can not find the data structure for IFC datas of these add-ons.


Please help me how to read/write IFC Properties from add-ons.
3 REPLIES 3
Anonymous
Not applicable
I found that "Access to IFC Data (ODBC Driver/ArchiCAD API)" is enabled
by AC16 , not yet at AC15...

(http://www.graphisoft.com/products/archicad/faq.html
in lowerly table, section "Communication, I/O")
Ralph Wessel
Mentor
Hidehisa wrote:
How can I access "IFC Properteis" from Add-on
Read/write access to IFC properties and attributes through the ArchiCAD API is only available from ArchiCAD 16. Relevant functions include ACAPI_Element_GetIFCProperties and ACAPI_Element_SetIFCProperty
Ralph Wessel BArch
Software Engineer Speckle Systems
Anonymous
Not applicable
Thanks!
Then, I know that it is difficult to read/write IFC properties by Add-ons in AC15.

I need to talk with our member how to resolve this matter without using IFC properties, or using AC16.