NX二次开发-UFUN创建球UF_MODL_create_sphere1

 1     NX11+VS2013
 2     
 3     #include <uf.h>
 4     #include <uf_modl.h>
 5 
 6 
 7     UF_initialize();
 8 
 9     //创建球
10     UF_FEATURE_SIGN Sign = UF_NULLSIGN;//设置布尔
11     double Center[3] = { 0.0, 0.0, 0.0 };//原点
12     char *Diam = "100";//直径
13     tag_t SphereTag = NULL_TAG;
14     UF_MODL_create_sphere1(Sign, Center, Diam, &SphereTag);
15 
16     UF_terminate();

原文地址:https://www.cnblogs.com/nxopen2018/p/10975998.html