|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
. | v- W5 S% P" ~
如何通过选择,获取选择的点??很简单,看这个函数( T& V& a* ~- O4 V* {
) g6 b. o7 c: x# \5 n) ^最后的一个参数就是输出的点,也就是你选取时候的位置。
" w: Y B. h" f# u9 x0 @5 B) d
! I/ }9 }' c/ |1 [# Q3 R! H% z
, o# }! L/ `7 M/ @* I) ONXOpen::Selection::Response
+ @7 P: P7 u* D* u | SelectTaggedObject (const NXString &message, const NXString &title, NXOpen::Selection::SelectionScope scope, bool includeFeatures, bool keepHighlighted, NXOpen::TaggedObject **object, NXOpen::Point3d *cursor)+ S6 O7 z; o! t# Z* i9 {
| 2 X s6 r& q& E. o( E* O
| Select single tagged object. | | | NXOpen::Selection::Response
/ H/ G X/ u: l0 P9 D. F | SelectTaggedObject (const char *message, const char *title, NXOpen::Selection::SelectionScope scope, bool includeFeatures, bool keepHighlighted, NXOpen::TaggedObject **object, NXOpen::Point3d *cursor)
0 g+ P# \, b9 M" M# }$ ^0 o) ] |
1 e: I3 N, i. t/ t$ V2 M | Select single tagged object. | | | NXOpen::Selection::Response
+ ~% `* Y( J0 D9 }3 m" j7 @* Y | 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)
4 e& T/ b. F/ M6 b | & I5 [( u; r5 P
| Select single tagged object using filter defined by mask triples. | | | NXOpen::Selection::Response0 N+ r4 u( I$ n$ |9 Z
| 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)9 U. j$ C# i% M! h3 [! g
| % r! x! U1 a; V# g0 I+ ]6 X* a; b: ~
| Select single tagged object using filter defined by mask triples. | | | NXOpen::Selection::Response! }4 |/ D+ A! Z; ^! f4 b; f
| 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)3 w6 r2 D: U t8 b5 f* G
| - l1 x' D2 N1 i! `1 w6 s
| Select single tagged object using filter defined by selection type. | | |
6 k4 v f$ w) V2 h |
|