|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
2 v d$ P' ]9 x9 P
如何通过选择,获取选择的点??很简单,看这个函数
3 w* C5 E" R, @. ^0 r) N
. p- w/ i( t. k( c% Q最后的一个参数就是输出的点,也就是你选取时候的位置。
* \5 H9 B+ ~8 e6 \" Q$ V' C3 ^
( K6 b8 Y& ~& C. |2 K2 ~- i- P: r2 a" Z* o
NXOpen::Selection::Response/ v* J! M1 j% y% y4 K% l3 Y
| SelectTaggedObject (const NXString &message, const NXString &title, NXOpen::Selection::SelectionScope scope, bool includeFeatures, bool keepHighlighted, NXOpen::TaggedObject **object, NXOpen::Point3d *cursor)) U9 t" x, y: i6 }5 ^, I+ m
| . Q7 b7 {6 X* f0 [0 R w
| Select single tagged object. | | | NXOpen::Selection::Response
0 I, D' I" w! F- V0 R4 E6 q( M" y9 Y | SelectTaggedObject (const char *message, const char *title, NXOpen::Selection::SelectionScope scope, bool includeFeatures, bool keepHighlighted, NXOpen::TaggedObject **object, NXOpen::Point3d *cursor)$ N4 L _ X! v, @
|
! a, d$ U- g( _4 `$ O | Select single tagged object. | | | NXOpen::Selection::Response* }& [, N4 H0 a8 x9 j2 d7 d
| 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! z* O) X: ^) a ]. i
|
% I* p" p8 x- [5 W4 C: x | Select single tagged object using filter defined by mask triples. | | | NXOpen::Selection::Response
# x6 Q& r8 s, [# Y+ H | 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)
' I2 b# Y# w- |( ?- Y( S/ V' u' r | . r! u: d' g7 ?" x
| Select single tagged object using filter defined by mask triples. | | | NXOpen::Selection::Response, e a/ V) @3 K0 w4 P& E0 w
| 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) Y3 x; T3 n5 ]! t4 m4 v
|
! p6 d! |& b- {5 c1 ~6 I. S | Select single tagged object using filter defined by selection type. | | |
, f9 V2 f6 E( T1 z: T' {& h" |- T! Q |
|