The Global ARCHICAD Community

Stay informed. Get help. Share your knowledge.

Discussions about using GRAPHISOFT's tools (API DevKit) for independent software developers

Moderators: Barry Kelly, Karl Ottenstein, LaszloNagy, ejrolon, gkmethy, Tibor Lorántfy, MOREH Tamas, Akos Somorjai, Ed Brown, Mihály Palenik

User avatar
By poco2013
Is there a method in the API to move info from properties to the project info fields. Getting the property values is fairly straight forward.

But I tried to fill in the info field 'notes' using the supplied example:

API_ProjectNoteInfo noteInfo;
ACAPI_Environment (APIEnv_GetProjectNotesID, &noteInfo, nullptr);
CHCopyC ("John Miller", noteInfo.notes);
ACAPI_Environment (APIEnv_ChangeProjectNotesID, &noteInfo, nullptr);

Doesn't work??

using version 22 on mac
By el_flamenco
Is there a way to access and add to the categories used in this UI using the API? I didn't find anything in the docs so far.
User avatar
By ReignBough
You can get them through APIEnv_GetProjectNotesID and modify them through APIEnv_ChangeProjectNotesID.

You can also use ACAPI_Goodies(APIAny_SetAnAutoTextID) and ACAPI_Goodies(APIAny_GetAutoTextsID). You can find the list of autotext here, just remove "<" and ">".