文章作者:里海
来源网站:王牌飞行员_里海_里海NX二次开发3000例,里海BlockUI专栏,C\C++-CSDN博客
简介
UG\NX二次开发 连接曲线、连结曲线 UF_CURVE_auto_join_curves
效果
代码
#include "me.hpp"
extern DllExport void ufusr(char* param, int* returnCode, int rlen)
{UF_initialize();vector<tag_t> curves;for (;;){tag_t curve = SelectObject("选曲线-里海");if (curve == NULL_TAG)break;curves.push_back(curve);}int joinTyope = 1;tag_t* joinList = new tag_t[curves.size()];//连