|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
+ O+ @; Z" B4 a* O5 z3 K如何通过选择,获取选择的点??很简单,看这个函数3 D0 D' z* o0 k+ M! l1 W6 L9 [3 H6 l
3 s- P( X& M* Y3 O最后的一个参数就是输出的点,也就是你选取时候的位置。" y# D: M# Z" ^ |
9 { A' T) _# C" A( Z8 S/ j. @8 o! x" |# ~6 i! L. |
NXOpen::Selection::Response( H+ ~; f( U% ~/ s/ r
| SelectTaggedObject (const NXString &message, const NXString &title, NXOpen::Selection::SelectionScope scope, bool includeFeatures, bool keepHighlighted, NXOpen::TaggedObject **object, NXOpen::Point3d *cursor)
8 m# l- v! Q! @* W4 U | 4 N# G4 U: r# X- c& n: \0 M
| Select single tagged object. | | | NXOpen::Selection::Response
4 b6 E7 X) P7 `* E% |% R% E- D | SelectTaggedObject (const char *message, const char *title, NXOpen::Selection::SelectionScope scope, bool includeFeatures, bool keepHighlighted, NXOpen::TaggedObject **object, NXOpen::Point3d *cursor)" S! c* n& @5 v7 J5 J
| # B/ W; d" \2 m6 v$ A, N- D
| Select single tagged object. | | | NXOpen::Selection::Response7 ^- ?* t& Q& q; N" Q1 G5 U
| 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)
+ @; A# X' U$ R0 z" S |
' h9 O5 |2 S4 n* U- V1 x6 I | Select single tagged object using filter defined by mask triples. | | | NXOpen::Selection::Response) h/ n4 ~ B8 q( W3 C. c0 F8 f
| 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)
/ t- r! W9 j( _. t3 ]) l# t | ; E8 d- `; Z. d0 P% p% k" z9 z2 z; L
| Select single tagged object using filter defined by mask triples. | | | NXOpen::Selection::Response% q3 f( i0 F# E3 [. K, q" H' y) [
| 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)
E9 j( \, b; s- q; D7 h |
5 m. l7 ?7 R% w4 r! M | Select single tagged object using filter defined by selection type. | | |
1 \6 I( a& ^4 v; N |
|