NX二次开发-UFUN获取投影曲线里的曲线UF_MODL_ask_proj_curves
NX11+VS2013
#include <uf.h>
#include <uf_modl.h>
#include <uf_curve.h>
#include <uf_obj.h>
UF_initialize();
//创建四条直线
UF_CURVE_line_t Line_coords1;
Line_coords1.start_point[0] = 0.0;
Line_coords1.start_point[1] = 0.0;
Line_coords1.start_point[2] = 0.0;
Line_coords1.end_point[0] = 10.0;
Line_coords1.end_point[1] = 0.0;
Line_coords1.end_point[2] = 0.0;
tag_t LineTag[4];
UF_CURVE_create_line(&Line_coords1, &LineTag[0]);
UF_CURVE_line_t Line_coords2;
Line_coords2.start_point[0] = 10.0;
Line_coords2.start_point[1] = 0.0;
Line_coords2.start_point[2] = 0.0;
Line_coords2.end_point[0] = 10.0;
Line_coords2.end_point[1] = 10.0;
Line_coords2.end_point[2]