NX二次开发 UFUN创建symbol符号 UF_DRF_create_custom_symbol_instance
//可以吧零散的曲线、剖面线、文字等实体对象组成一个 symbol符号(比如顶针、螺丝符号)
//NX8.0+VS2010
#include <uf.h>
#include <uf_ui.h>
#include <uf_obj.h>
#include <uf_modl.h>
#include <uf_curve.h>
#include <uf_assem.h>
#include <uf_part.h>
#include <UF_DRF.h>
extern DllExport void ufsta(char* param, int* returnCode, int rlen)
{
if (UF_initialize())
return;
tag_t line_tag[3] = { NULL_TAG };
UF_CURVE_line_t lineCoords;
lineCoords.start_point[0] = 5.0;
lineCoords.start_point[1] = 5.0;
lineCoords.start_point[2] = 0.0;
lineCoords.end_point[0] = 20.0;
lineCoords.end_point[1] = 20.0;
lineCoords.end_point[2] = 0.0;
UF_CURVE_create_line(&lin