NX二次开发 链表操作 UFUN删除链表的对象 UF_MODL_delete_list_item
//VS8.0+VS2010
#include <uf_modl.h>
#include <uf_curve.h>
#include <uf_ui.h>
#include <uf_obj.h>
extern DllExport void ufsta(char* param, int* returnCode, int rlen)
{
if (UF_initialize())
return;
//创建直线1
tag_t line_tags[4];
UF_CURVE_line_t line_coords;
line_coords.start_point[0] = 0.0;
line_coords.start_point[1] = 0.0;
line_coords.start_point[2] = 0.0;
line_coords.end_point[0] = 100.0;
line_coords.end_point[1] = 0.0;
line_coords.end_point[2] = 0.0;
UF_CURVE_create_line(&line_coords, &line_tags[0]);
//创建直线2
line_coords.start_point[0] = 100.0;
line_coords.start_point[1] = 0.0;
line_coords.start_po