|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
# O5 j+ C7 `2 I! Q2 M8 g4 @
如何通过选择,获取选择的点??很简单,看这个函数6 T+ `, Y$ _' D2 g3 U* q
# A7 c$ N8 i, D7 Z$ N& h8 h
最后的一个参数就是输出的点,也就是你选取时候的位置。
; ?! n& I9 [; {) ?% T* o" O
: Q4 _, s! M* R! S3 J! s( S) b9 I7 {
NXOpen::Selection::Response& M: S0 {# ]3 L) L2 t
| SelectTaggedObject (const NXString &message, const NXString &title, NXOpen::Selection::SelectionScope scope, bool includeFeatures, bool keepHighlighted, NXOpen::TaggedObject **object, NXOpen::Point3d *cursor)
/ D2 c& W$ _2 [- i | 7 [0 @" p! s/ c8 y; z
| Select single tagged object. | | | NXOpen::Selection::Response4 T, V! a% G( X! W5 f# Q
| SelectTaggedObject (const char *message, const char *title, NXOpen::Selection::SelectionScope scope, bool includeFeatures, bool keepHighlighted, NXOpen::TaggedObject **object, NXOpen::Point3d *cursor)
- T/ a# }4 f$ |1 ] | ^" L+ E- V' {. G# b; d! g
| Select single tagged object. | | | NXOpen::Selection::Response: t, J5 @& A, B$ H: v
| 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): D1 P( f4 C7 T
| 6 e' m3 t" j* S) L% M; d% a" M& W
| Select single tagged object using filter defined by mask triples. | | | NXOpen::Selection::Response, x+ ~* Q& B1 \4 c, G* }
| 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 e2 w; E7 A- N/ n. k# V) q/ h
|
/ K- G& H$ P" G! N- S: u- q | Select single tagged object using filter defined by mask triples. | | | NXOpen::Selection::Response
( {. d% \4 N. L t/ M7 |- I | 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)
3 Z# ^2 W$ S. k. B0 x/ o | , P9 A" [6 c' r6 I2 x9 K. n
| Select single tagged object using filter defined by selection type. | | |
: i3 E7 x, F. p% j: K5 F4 G4 q' @ |
|