|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
: }) V. U2 H: J/ g
如何通过选择,获取选择的点??很简单,看这个函数
3 L3 Z" O0 h, g @" E
" u$ @0 @* Q/ ^( W3 W最后的一个参数就是输出的点,也就是你选取时候的位置。9 k) L$ _1 `, X) h$ V' q4 w0 _. P
; G) B$ T* M z
) e9 i7 F! G0 B! l% W7 v
NXOpen::Selection::Response) e. ?& x9 M( o
| SelectTaggedObject (const NXString &message, const NXString &title, NXOpen::Selection::SelectionScope scope, bool includeFeatures, bool keepHighlighted, NXOpen::TaggedObject **object, NXOpen::Point3d *cursor)
( [4 g" r) k' K/ Z& y | , A. Y& j8 q; S. `$ B
| Select single tagged object. | | NXOpen::Selection::Response! I0 U& W1 L: b
| SelectTaggedObject (const char *message, const char *title, NXOpen::Selection::SelectionScope scope, bool includeFeatures, bool keepHighlighted, NXOpen::TaggedObject **object, NXOpen::Point3d *cursor)
. U# J* F" N8 K! _ |
* r8 u" N3 B: t9 Q | Select single tagged object. | | NXOpen::Selection::Response: T9 o5 g q1 e2 _; ]. ?
| 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)
. t6 o. u2 {8 X |
2 Z, \' M2 X' H* l3 |/ W* ^' | | Select single tagged object using filter defined by mask triples. | | NXOpen::Selection::Response
x1 K! w. y+ e: ]: j, a | 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)- ]7 u' p) y& ~$ `( l' t5 a
| , ?1 u' @) y( l8 E- d
| Select single tagged object using filter defined by mask triples. | | NXOpen::Selection::Response
! D4 j& I( d* t' p+ X8 J# R4 n | 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)
! w1 N1 T" k% O, q; S; S$ D+ ] | ! w. y/ Y. {. Z6 \ t+ u& I
| Select single tagged object using filter defined by selection type. | | $ C. G( x) P* e: ]# v& S
|
|