|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
- G% K& w6 ^& W M9 A/ ~/ w如何通过选择,获取选择的点??很简单,看这个函数" b# c% \$ j8 ~* J, m0 F& z0 n% b$ U
5 e0 b) k! b+ t7 Q5 ?, t最后的一个参数就是输出的点,也就是你选取时候的位置。: r! W m& m( X. g
8 ]7 |2 O3 p# [3 v
" N8 f0 K y# c& Z* gNXOpen::Selection::Response
: q* n* [+ T+ p: S& W3 O% ~ | SelectTaggedObject (const NXString &message, const NXString &title, NXOpen::Selection::SelectionScope scope, bool includeFeatures, bool keepHighlighted, NXOpen::TaggedObject **object, NXOpen::Point3d *cursor)7 S3 |. O( I: L% g
|
; t+ Q% z& X' Z$ X8 D3 R+ @6 m Z$ S | Select single tagged object. | | | NXOpen::Selection::Response
7 I) T# j3 ?. W2 R! ^3 ` | SelectTaggedObject (const char *message, const char *title, NXOpen::Selection::SelectionScope scope, bool includeFeatures, bool keepHighlighted, NXOpen::TaggedObject **object, NXOpen::Point3d *cursor)
% S8 a4 V& P' d" n* u+ `. Q | - ^4 @! s" |3 m. \$ m+ Y
| Select single tagged object. | | | NXOpen::Selection::Response
: O' H6 J6 b" s) p( z6 s1 w | 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)9 E2 J3 f+ s+ F5 ]6 t# Q& y
| " q6 x5 Z& S; w0 r7 S) t( w
| Select single tagged object using filter defined by mask triples. | | | NXOpen::Selection::Response
' `) O! `4 n3 X3 \7 `7 _ | 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); Q: }1 S# @% W/ P: M$ _( Z
| * ^4 K2 H: ]0 C) W1 w& U$ I- r: k
| Select single tagged object using filter defined by mask triples. | | | NXOpen::Selection::Response% K! t# S1 _4 f/ d1 P
| 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)% U) X S# V2 D i
| ! n6 m ], _$ L* ~: k& G
| Select single tagged object using filter defined by selection type. | | | / t9 q5 U$ D/ ? S ?& p# l
|
|