PLM之家PLMHome-工业软件与AI结合践行者

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

[复制链接]

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

admin 发表于 2017-3-7 09:40:16 |阅读模式

admin 楼主

2017-3-7 09:40:16

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

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

x
: k! J2 N  k0 O/ C: w
如何通过选择,获取选择的点??很简单,看这个函数: ~1 U9 Z1 W* Y5 p

1 G, h) h- i0 D$ L8 ~3 s- Z3 g% b最后的一个参数就是输出的点,也就是你选取时候的位置。: Y0 k. _, k; N* c1 L* z) |7 A2 Y2 g
" R# m' [5 q2 M) T9 m
" x+ H. R0 t1 F4 g$ P; |) e% x
NXOpen::Selection::Response
; K$ f7 B5 g; F  F( z6 n: J
SelectTaggedObject (const NXString &message, const NXString &title, NXOpen::Selection::SelectionScope scope, bool includeFeatures, bool keepHighlighted, NXOpen::TaggedObject **object, NXOpen::Point3d *cursor)8 m7 x; G3 O( _3 ]9 v' a
$ y: d1 N5 z# p8 t7 i
Select single tagged object.  
NXOpen::Selection::Response
) \, s8 H+ o) k# a
SelectTaggedObject (const char *message, const char *title, NXOpen::Selection::SelectionScope scope, bool includeFeatures, bool keepHighlighted, NXOpen::TaggedObject **object, NXOpen::Point3d *cursor)
7 q& q+ l7 S& h8 e. p
/ n7 x  P; b1 s$ b( [0 [
Select single tagged object.  
NXOpen::Selection::Response
9 q- k- `5 a$ {7 M
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)
' T; P( Y# d* J& h# \' \

" o0 m1 C" Q" G( B
Select single tagged object using filter defined by mask triples.  
NXOpen::Selection::Response& Z: M2 L. n% ?8 \
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)! M/ U1 ?2 Y' T/ T8 J4 B
8 A) r6 q3 ]; S$ u' a' T2 P) a5 N- y
Select single tagged object using filter defined by mask triples.  
NXOpen::Selection::Response* C3 M- ~0 c' w3 [& H1 q
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)5 n2 b( E4 b! L1 C2 H; G, G) j
1 b3 b1 G/ O2 N0 u1 S
Select single tagged object using filter defined by selection type.  

+ r% v% T# I7 x  G+ v) o
上海点团信息科技有限公司,承接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二次开发专题模块培训报名开始啦

    我知道了