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

change menu name ,and rebuild,it still be old

Aubrey
Participant

Hi, It's success for me to build my First Add on by following blog,https://archicadapi.Graphisoft.com/getting-started-with-Archicad-add-ons. But I am confused by a stranger problem,where I change my code in cpp, rebuild it and it works,but I change Menu name,and rebuild,it still be old. I search the forum for answer, ths closet topic is 

https://community.Graphisoft.com/t5/Developer-forum/Menu-problem/m-p/280025 , but it's pretty pity that it does not work for me.

please give me some instructions.

3 REPLIES 3
Sam Karli
Enthusiast

Consider Cleaning the project before building. Only rebuilding AFAIK doesn't rebuild resources (.grc etc files) and thus the old names will stay. "Build/Clean Solution".

GDL/Python/C++ dev
Miklos Vegh
Graphisoft
Graphisoft

Try to close Archicad and remove the WorkEnvironment and the Latest WorkEnvironment folders from the C:\Users\<username>\AppData\Roaming\Graphisoft\Archicad xxx

MudratDetector
Enthusiast

I had a similar problem with making edits to a menu after I had already successfully loaded it in to Archicad.  My solution was found at:

Options > Work Environment > Menus

I was able to add and manipulate different choices of the menu item that were loaded into Archicad with the modified code but were never associated with the original menu item.

Chris Gilmer
Intel i9-12950HX CPU @ 2.30GHz, 16 cores
NVIDIA GeForce RTX 3080
48.0 GB RAM
Windows 10 Pro 64-bit