学UG二次开发就上UG网:
NX二次开发点收集器可以用来收集当前UG窗口中的点,其使用的函数为:UF_UI_select_point_collection;
UG二次开发
UG二次开发点收集器C++源码:
- /*中磊国际模具培训-点收集器*/
- char Message[] = "就上UG网学UG-点收集器";
- logical CoincidentPoints = true;
- UF_UI_chained_points_p_t chained_points;
- int Count;
- int Response;
- UF_UI_select_point_collection(Message, CoincidentPoints, &chained_points,
- &Count, &Response);
-
- UF_free(chained_points);
复制代码
|