License delivery maintenance is planned for Saturday, July 26, between 12:00 and 20:00 CEST. During this time, you may experience outages or limited availability across our services, including BIMcloud SaaS, License Delivery, Graphisoft ID (for customer and company management), Graphisoft Store, and BIMx Web Viewer. More details…
2024-11-18 12:40 AM
visual studio c++2017
Archi27 API
Programing
struct GlovalValues;
static GSErrCode MenuCommandHandler (const API_MenuParams *menuParams)
{
switch (menuParams->menuItemRef.menuResID) {
case ID_ADDON_MENU01:
// addon programing By globalValues
break;
return 0;
}
I select menu on ID_ADDON_MENU01.
after ID_ADDON_MENU01
but GlovalValues initialized on next select menu ;
how to continue data of GlovalValues on next menu pushed;
Solved! Go to Solution.
2024-11-20 07:48 AM
Hi,
I'd like suggest you to use ACAPI_SetPreferences() and ACAPI_GetPreferences() function to keep and restore your own data in your project file. Please check the details in API Doc.
HTH.
2024-11-20 07:48 AM
Hi,
I'd like suggest you to use ACAPI_SetPreferences() and ACAPI_GetPreferences() function to keep and restore your own data in your project file. Please check the details in API Doc.
HTH.