|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
9 b' S9 F5 l. I: z: Z# L# ?# E
如何通过选择,获取选择的点??很简单,看这个函数
" s+ u! W; b# e; ^4 E. |9 ]% ^" z% K$ l! s0 ?
最后的一个参数就是输出的点,也就是你选取时候的位置。* k1 p- G: g3 d
5 D0 M! H+ y. [' B4 w
! G" N9 g; W1 d" e. R) mNXOpen::Selection::Response7 f1 X$ g% o1 u5 D4 K' E
| SelectTaggedObject (const NXString &message, const NXString &title, NXOpen::Selection::SelectionScope scope, bool includeFeatures, bool keepHighlighted, NXOpen::TaggedObject **object, NXOpen::Point3d *cursor)5 z" ^* [2 M6 A f) p4 \
| + k+ d9 X( @8 K% l
| Select single tagged object. | | NXOpen::Selection::Response
+ N& e, b6 c. v9 }' h1 g) D. | | SelectTaggedObject (const char *message, const char *title, NXOpen::Selection::SelectionScope scope, bool includeFeatures, bool keepHighlighted, NXOpen::TaggedObject **object, NXOpen::Point3d *cursor)
" Y* L- x, J" _6 a) M w |
/ I# Q G2 D |3 D ^ | Select single tagged object. | | NXOpen::Selection::Response
* i/ X4 V+ J/ d: n5 F4 `; H5 } | 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)$ K' j$ p+ `( U+ e/ I/ l: w- B
| 8 r3 R1 k0 a; x) K) o
| Select single tagged object using filter defined by mask triples. | | NXOpen::Selection::Response
: f+ v/ ]/ x) w: G | 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)- h9 Z7 {! h5 M0 v* f0 j. v
| ; k+ {3 I) o. u5 m! Q) f
| Select single tagged object using filter defined by mask triples. | | NXOpen::Selection::Response
4 K/ T! b! f4 A& c/ [& q9 G- c6 G | 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)# M G2 Y! q, [0 I9 ^1 X, [9 f
|
' s! o) x p4 `- b | Select single tagged object using filter defined by selection type. | | : S: H6 G% V4 E
|
|