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

Change the string of the menu through the api

WalterWhite
Contributor

In the following code in my grc file, can I make changes to the "item" string through the api?

'STR#' 32500 "Strings for the Menu" {
/* [   ] */     "Menu name"
/* [ 1 ] */	"item"
}

 

1 REPLY 1
kuvbur
Enthusiast

ACAPI_MenuItem_SetMenuItemText (for AC27+) or ACAPI_Interface (APIIo_SetMenuItemTextID, const API_MenuItemRef* menuItemRef,char* itemText, GS::UniString* itemUniText)

Structural engineer, developer of free addon for sync GDL param and properties