|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
/ X( ?3 Q( }( \1 _. t Y/ Y& v如何通过选择,获取选择的点??很简单,看这个函数" W" M' }, ~1 o5 G3 r$ j- u
0 G- o0 ]( v0 Q5 \$ v' J
最后的一个参数就是输出的点,也就是你选取时候的位置。
* A4 |/ R. z/ c( y0 ?
6 u& C( S E* C! z+ U* H& R" W, e, ?! C q' I. N/ @
NXOpen::Selection::Response
' u! U. d8 P* J5 o! q# U' G | SelectTaggedObject (const NXString &message, const NXString &title, NXOpen::Selection::SelectionScope scope, bool includeFeatures, bool keepHighlighted, NXOpen::TaggedObject **object, NXOpen::Point3d *cursor)3 O/ m; U. a* D
| ' n/ R2 A Q8 C% i. e0 V
| Select single tagged object. | | NXOpen::Selection::Response9 o: o+ N5 e/ |- j0 p+ }% J
| SelectTaggedObject (const char *message, const char *title, NXOpen::Selection::SelectionScope scope, bool includeFeatures, bool keepHighlighted, NXOpen::TaggedObject **object, NXOpen::Point3d *cursor)! @6 i$ r0 k. P* F; _+ f
| 3 y1 }5 u7 [2 x! h9 x" l
| Select single tagged object. | | NXOpen::Selection::Response
$ S2 Q9 `8 U3 U& p1 o | 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)
) o; V* K1 s, E) |* E | 4 J9 ~( j: _/ h1 n' ]
| Select single tagged object using filter defined by mask triples. | | NXOpen::Selection::Response0 R" M, W6 {3 Y6 u0 L& I) M8 }( a) L
| 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)
+ g+ r/ u7 Q# N2 a* G& m7 f2 y* c |
/ ^* p6 X0 x8 d) {9 X" w# k1 }/ [ | Select single tagged object using filter defined by mask triples. | | NXOpen::Selection::Response! Z% k( Q% Z! F7 b: L
| 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) r% ?0 i) q0 T% l `! j
|
* n" V8 Y# j2 d$ C/ f9 R8 Y- Z | Select single tagged object using filter defined by selection type. | | * F/ C) W' z( Q4 w3 q3 ^
|
|