Choose your top Archicad wishes!

Read more
Archicad C++ API
About Archicad add-on development using the C++ API.
SOLVED!

Project Notes

poco2013
Mentor
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
Gerry

Windows 11 - Visual Studio 2022; ArchiCAD 27
1 ACCEPTED SOLUTION

Accepted Solutions
Solution
Tibor Lorantfy
Graphisoft Alumni
Graphisoft Alumni
It works here: Maybe you are searching the result at the wrong place.

View solution in original post

3 REPLIES 3
Solution
Tibor Lorantfy
Graphisoft Alumni
Graphisoft Alumni
It works here: Maybe you are searching the result at the wrong place.
Anonymous
Not applicable
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.
ReignBough
Enthusiast
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 ">".
~ReignBough~
ARCHICAD 26 INT (from AC18)
Windows 11 Pro, AMD Ryzen 7, 3.20GHz, 32.0GB RAM, 64-bit OS