NX二次开发-UFUN获取点集里的点数量和所有点tag UF_MODL_ask_points_parms

592 篇文章 439 订阅 ¥299.90 ¥99.00

NX二次开发-UFUN获取点集里的点数量和所有点tag UF_MODL_ask_points_parms

NX9+VS2012

#include <uf.h>
#include <uf_curve.h>
#include <uf_modl.h>
#include <uf_ui.h>



UF_initialize();

//创建点
double pointCoords1[3] = {0,10,20}; 
tag_t point1Tag = NULL_TAG;
UF_CURVE_create_point(pointCoords1, &point1Tag);

double pointCoords2[3] = {0,40,50}; 
tag_t point2Tag = NULL_TAG;
UF_CURVE_create_point(pointCoords2, &point2Tag);

double pointCoords3[3] = {0,70,80}; 
tag_t point3Tag = NULL_TAG;
UF_CURVE_create_point(pointCoords3, &point3Tag);

double pointCoords4[3] = {0,100,110}; 
tag_t point4Tag = NULL_TAG;
UF_CURVE_create_point(pointCoords4, &point4Tag);

//创建点集
tag_t points[4] = {point1Tag, point2Tag,point3Tag,point4Tag};
tag_t feature_tag = NULL_TAG;
UF_MODL_create_points_feature(4, points, &feature_tag);

//获取点集里的点数量和所有点tag
int num_points = 0;
tag_t* ponts = NULL_TAG;
UF_MODL_ask_points_parms(feature_
  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

阿飞2018

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值