PLM之家PLMHome-国产软件践行者

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

[复制链接]

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

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

admin 楼主

2017-3-7 09:40:16

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

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

x
; F) h6 b7 a6 u5 K
如何通过选择,获取选择的点??很简单,看这个函数
+ t( X( b8 r# J. o  P# ]2 |# ]" l
3 ^) d1 X0 ]& P9 V* {最后的一个参数就是输出的点,也就是你选取时候的位置。
/ h# _+ Y4 \0 v
8 v+ L$ S. a8 X# g$ {; Q* }% a; p( X6 ^; ^
NXOpen::Selection::Response1 Y5 ~4 f+ Y" z$ k' o" ^1 Q$ `
SelectTaggedObject (const NXString &message, const NXString &title, NXOpen::Selection::SelectionScope scope, bool includeFeatures, bool keepHighlighted, NXOpen::TaggedObject **object, NXOpen::Point3d *cursor)
5 b9 P% y9 y" U2 o+ L0 s# {
  E! Y- y/ p; o* S6 x, t
Select single tagged object.  
NXOpen::Selection::Response
6 k  B3 M3 v+ h: {" r
SelectTaggedObject (const char *message, const char *title, NXOpen::Selection::SelectionScope scope, bool includeFeatures, bool keepHighlighted, NXOpen::TaggedObject **object, NXOpen::Point3d *cursor)
5 ~, w, T8 X* a( W+ m

( b4 ^/ g2 a: d+ e# o% C* J
Select single tagged object.  
NXOpen::Selection::Response* F9 i2 ~. e( T
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)% Y/ O. x+ A- j/ r+ n9 ~. L
  F8 @  l, o, m) h
Select single tagged object using filter defined by mask triples.  
NXOpen::Selection::Response
* s! p" T# d7 j4 T# a% D: x; s' C
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)
+ |7 m# d" e5 ~

3 j! F& x- U! B9 S, F+ B& H4 W. t
Select single tagged object using filter defined by mask triples.  
NXOpen::Selection::Response+ \- [" A. Q+ a+ a
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)
0 p0 @7 R* x+ F# z. X3 G5 N

) B. K5 F" g5 W/ l
Select single tagged object using filter defined by selection type.  

6 }1 |8 N5 q, [# a$ ~1 x" l
上海点团信息科技有限公司,承接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二次开发专题模块培训报名开始啦

    我知道了