NX10上切换模块的函数,如何切换模块
The NXOpen Session::ApplicationSwitchImmediate method is new in NX10.
To see how to spell "whatApp" change to the desired application in interactive NX then use Menu-> Help-> Log File and look at the bottom of the file for the name of the button you just selected.E.g.:
"UG_APP_DRAFTING"
"UG_APP_MODELING"
"UF_APP_SFEM"
#include <NXOpen/Session.hxx>
static void switch_application_immediately_interop(char *whatApp)
{
NXOpen::Session *theSession = NXOpen::Session::GetSession();
theSession->ApplicationSwitchImmediate(whatApp); // New in NX10
}
NXOpen::MenuBar::MenuBarManager::ApplicationSwitchRequest NX9的
页:
[1]