PLM之家PLMHome-工业软件践行者

[二次开发源码] 如何通过选择,获取选择的点??很简单,看这个函数

[复制链接]

2017-3-7 09:40:16 2611 0

2470

主题

1275

回帖

8万

积分

管理员

PLM之家站长

积分
82170
QQ
发表于 2017-3-7 09:40:16 | 显示全部楼层 |阅读模式

请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!

您需要 登录 才可以下载或查看,没有账号?注册

x
. }0 G) X/ Y! N7 \  w
如何通过选择,获取选择的点??很简单,看这个函数
" w4 ]9 y" ?/ J$ {) U/ F6 ~, B3 N) T. ]
最后的一个参数就是输出的点,也就是你选取时候的位置。
: j0 M1 r# k* t5 E/ T4 c& U' T+ H. N0 U9 P

# m  _; r: a& F# t* H% x
NXOpen::Selection::Response
2 w9 M* T" R; K" W& J1 j, b
SelectTaggedObject (const NXString &message, const NXString &title, NXOpen::Selection::SelectionScope scope, bool includeFeatures, bool keepHighlighted, NXOpen::TaggedObject **object, NXOpen::Point3d *cursor)6 O# |' {6 ~  @9 C2 n9 R2 K: r
# V2 y6 @% ]' G  W$ s/ f& i
Select single tagged object.  
NXOpen::Selection::Response
- N5 n5 s5 M2 Z# g" I5 d
SelectTaggedObject (const char *message, const char *title, NXOpen::Selection::SelectionScope scope, bool includeFeatures, bool keepHighlighted, NXOpen::TaggedObject **object, NXOpen::Point3d *cursor)
: }# @8 c, T2 G* i6 }  E

; l# ~+ {% b$ r% v3 `! S% v: h! P+ E
Select single tagged object.  
NXOpen::Selection::Response7 K0 O; ~" _4 z. [5 E3 |
SelectTaggedObject (const NXString &message, const NXString &title, NXOpen::Selection::SelectionScope scope, NXOpen::Selection::SelectionAction action, bool includeFeatures, bool keepHighlighted, const std::vector< NXOpen::Selection::MaskTriple > &maskArray, NXOpen::TaggedObject **object, NXOpen::Point3d *cursor)) Q/ W+ y6 G" R$ {* p" y( y% L

, ]3 Q+ [4 y0 [* {) }, O. S
Select single tagged object using filter defined by mask triples.  
NXOpen::Selection::Response
7 j, q) h$ r. |
SelectTaggedObject (const char *message, const char *title, NXOpen::Selection::SelectionScope scope, NXOpen::Selection::SelectionAction action, bool includeFeatures, bool keepHighlighted, const std::vector< NXOpen::Selection::MaskTriple > &maskArray, NXOpen::TaggedObject **object, NXOpen::Point3d *cursor)
( R$ P& \6 N) f$ l+ `6 ?7 s

" A# x3 o( O0 Q1 c3 X# V/ Z% \) _6 K9 }
Select single tagged object using filter defined by mask triples.  
NXOpen::Selection::Response
; T/ ~+ `" |' J' o
SelectTaggedObject (const NXString &message, const NXString &title, NXOpen::Selection::SelectionScope scope, bool keepHighlighted, const std::vector< NXOpen::Selection::SelectionType > &typeArray, NXOpen::TaggedObject **object, NXOpen::Point3d *cursor)
/ q; _1 N% H" P" w* r9 j9 R
6 d" d8 z. i5 }
Select single tagged object using filter defined by selection type.  
3 ^$ F3 h9 |7 w
上海点团信息科技有限公司,承接UG NX,CATIA,CREO,Solidworks 等CAx软件,Teamcenter,3D Experience等PLM软件,工业4.0数字化软件的实施\二次开发\培训相关业务,详情QQ 939801026 Tel 18301858168 网址 doTeam.tech
回复

使用道具 举报

发表回复

您需要登录后才可以回帖 登录 | 注册

返回列表 本版积分规则

  • 发布新帖

  • 在线客服

  • 微信

  • 客户端

  • 返回顶部

  • x
    温馨提示

    本网站(plmhome.com)为PLM之家工业软件学习官网站

    展示的视频材料全部免费,需要高清和特殊技术支持请联系 QQ: 939801026

    PLM之家NX CAM二次开发专题模块培训报名开始啦

    我知道了