|
请使用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 |
|