快捷导航 上传作品

[c++] UG二次开发拾取平面C++源码教程就上UG网

[复制链接]
ug9.0发表于 2016-5-16 07:40:33 | 显示全部楼层 |阅读模式
学NX二次开发就上UG网:
拾取平面是以往低版本上的一个功能,可以通过指令的点来创建平面,此UG二次开发所用的函数为:UF_UI_specify_plane;

UG二次开发

UG二次开发

NX二次开发拾取平面c++源码:
  1.     /*中磊国际模具培训-拾取平面对话框*/
  2.   
  3.     double orientation[9] = { 0, 0, 0, 0, 0, 0, 0, 0, 0 };
  4.     double origin[3] = { 0, 0, 0 };
  5.     double pts[6] = { 0.0, 0.0, 0.0 };
  6.     int mode = 1, display = 0, response;
  7.     tag_t plane_eid = NULL_TAG;

  8.     UF_UI_specify_plane("就上UG网指定平面",&mode,display,&response,
  9.         orientation,origin,&plane_eid);

  10.     /* Terminate the API environment */
复制代码


就上UG网淘宝直营店
回复

使用道具 评分 举报

您需要登录后才可以回帖 登录 | 注册UG网

本版积分规则