切换模块
我想从制图模块切换回建模模块 有相关的函数么 UI *ui=UI::GetUI(); ui->MenuBarManager()->ApplicationSwiTChRequest("UG_APP_DRAFTING") 老师怎么判定你在制图模块呢? yuleihz 发表于 2016-1-8 14:48老师怎么判定你在制图模块呢?
UF_ask_application_module (view source)
Defined in: uf.h
Overview
Returns the current application module. The value that is returned
maps to a string defined constant. You can find the string in the
header file uf.h. The strings are of the form UF_APP_<module>.
For example, UF_APP_DRAFTING represents the drafting module.
Note - if this function is called from an external program it will
always return a FALSE and an app id of APP_NONE.
Environment
Internal and External
Required License(s)
gateway
int UF_ask_application_module
(
int * module_id
)
int * module_id Output The module identification value of the
current application.
测试中,非常感谢,没想到老师回帖的速度这么快
页:
[1]