NX二次开发 UFUN创建点集 UF_MODL_create_points_feature
//VS8.0+VS2010
#include <uf_curve.h>
#include <uf_modl.h>
extern DllExport void ufsta(char* param, int* returnCode, int rlen)
{
if (UF_initialize())
return;
//创建点
double point1[3] = { 0,10,20 };
tag_t pt_tag1 = NULL_TAG;
UF_CURVE_create_point(point1, &pt_tag1);
double point2[3] = { 0,20,20 };
tag_t pt_tag2 = NULL_TAG;
UF_CURVE_create_point(point2, &pt_tag2);
double point3[3] = { 0,30,40 };
tag_t pt_tag3 = NULL_TAG;
UF_CURVE_create_point(point3, &pt_tag3);
double point4[3] = { 0,30,50 };
tag_t pt_tag4 = NULL_TAG;
UF_CURVE_create_point(point4, &pt_tag4);
//创建点集
tag_t points[4] = { pt_tag1, pt_tag2,pt_tag3,pt_tag4 };
tag_t feature_tag &#