#include <NXOpen/Session.hxx> #include <NXOpen/UI.hxx> #include <NXOpen/Menubar_MenubarManager.hxx> using namespace NXOpen; void MyClass::do_it() { // TODO: add your code here UI::GetUI()->MenuBarManager()->ApplicationSwitchRequest("UG_APP_DRAFTING"); }