cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
Le Tan Kien
Booster

How to access custom fields added in Project Info via Archicad C++ API?

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!

 
 

image.png

1 Solution

Accepted Solutions
kuvbur
Advocate

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.

Industrial Architect and Structural Design Engineer, developer of free addon for sync GDL param and properties

Go to post

2 Replies 2
kuvbur
Advocate

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.

Industrial Architect and Structural Design Engineer, developer of free addon for sync GDL param and properties

Le Tan Kien
Booster

Thank you sir, it works!

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!