可以用下面这个函数实现切换,切换视图如下:
1 Top
2 Front, Right
3 Top, Front
4 Top, Front, TFR-ISO, Right
5 TFR-TRI, Left, Top, Front, TFR-ISO, Right
extern int uc6464 (
const char * layout_name,
const char * old_view_name,
const char * new_view_name );
const char * layout_name Input Layout Name (30 char max) " " = Current Layout
const char * old_view_name Input Old View Name (30 char max) " " = Work View
const char * new_view_name Input New View Name (30 char max) " " = Work View
如想学习GRIP/UG OPEN API请登陆www.ugapi.com,网络&现场培训随你选,热线13915785290 |