License delivery maintenance is planned for Saturday, July 26, between 12:00 and 20:00 CEST. During this time, you may experience outages or limited availability across our services, including BIMcloud SaaS, License Delivery, Graphisoft ID (for customer and company management), Graphisoft Store, and BIMx Web Viewer. More details…
2 weeks ago
Hi everyone,
I'm developing an Archicad Add-On using the C++ API and need to retrieve custom fields that were manually added in the "Project Info" dialog (File > Info > Project Info).community.graphisoft.com
I understand that API_ProjectNoteInfo provides access to standard fields like projectName, client, and company. However, it doesn't seem to include any custom fields added by the user.
Is there a way to programmatically access these custom fields using the Archicad C++ API?
Any guidance or examples would be greatly appreciated.
Thank you!
Solved! Go to Solution.
2 weeks ago
To read custom fields, use the APIAny_GetAutoTextsID function (named ACAPI_AutoText_GetAutoTexts in versions 27/28) with the parameter API_AutotextType type = APIAutoText_Custom. Refer to the API sample code in Goodie_Functions.cpp for implementation examples.
Structural engineer, developer of free addon for sync GDL param and properties
2 weeks ago
To read custom fields, use the APIAny_GetAutoTextsID function (named ACAPI_AutoText_GetAutoTexts in versions 27/28) with the parameter API_AutotextType type = APIAutoText_Custom. Refer to the API sample code in Goodie_Functions.cpp for implementation examples.
Structural engineer, developer of free addon for sync GDL param and properties
2 weeks ago
Thank you sir, it works!