NX二次开发-c++切换到制图模块

#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");
}
原文地址:https://www.cnblogs.com/huadong2020/p/13738513.html