NX二次开发-创建圆弧(起点-终点-半径)UF_CURVE_create_arc_point_point_radius
NX9+VS2012
#include <uf.h>
#include <uf_curve.h>
UF_initialize();
//起点
double ArcStartPoint[3];
ArcStartPoint[0] = 0.0;
ArcStartPoint[1] = 0.0;
ArcStartPoint[2] = 0.0;
tag_t ArcStartPointTag = NULL_TAG;
UF_CURVE_create_point(ArcStartPoint, &ArcStartPointTag);
//终点
double ArcEndPoint[3];
ArcEndPoint[0] = 100.0;
ArcEndPoint[1] = 0.0;
ArcEndPoint[2] = 0.0;
tag_t ArcEndPointTag = NULL_TAG;
UF_CURVE_create_point(ArcEndPoint, &ArcEndPointTag);
//半径
double RadiuValue = 100;
//类型
UF_CURVE_limit_t limit[2];
UF_CURVE_limit_p_t pLimit[2] = { &limit[0], &limit[