|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
( ^" F6 z$ |! d7 m$ F
如何通过选择,获取选择的点??很简单,看这个函数
4 U' d n9 a9 h* T) J2 u6 h8 e- O" W2 ^7 |& p
最后的一个参数就是输出的点,也就是你选取时候的位置。
; b6 N. k9 P1 ?4 j8 B
+ Q! V4 L) b! T- d
# k' I; [$ @( Z- J/ D ~9 @NXOpen::Selection::Response
0 _, E# [5 r# I) r3 w | SelectTaggedObject (const NXString &message, const NXString &title, NXOpen::Selection::SelectionScope scope, bool includeFeatures, bool keepHighlighted, NXOpen::TaggedObject **object, NXOpen::Point3d *cursor)7 h* B1 |8 \9 Z4 h9 W
| 6 W2 c9 U! q7 m5 n- @# D
| Select single tagged object. | | NXOpen::Selection::Response
! U) R, ]/ h; p6 c( i | SelectTaggedObject (const char *message, const char *title, NXOpen::Selection::SelectionScope scope, bool includeFeatures, bool keepHighlighted, NXOpen::TaggedObject **object, NXOpen::Point3d *cursor)5 r, O9 P. F l
| 8 Z- c6 t! H5 ^9 g ?. T
| Select single tagged object. | | NXOpen::Selection::Response. U8 R) F" E7 `/ 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)
$ S7 g" B* x h: D7 D | : ?* X; U" r9 N1 O$ c7 R1 q
| Select single tagged object using filter defined by mask triples. | | NXOpen::Selection::Response5 t5 c- {5 i! H( o
| 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), A* K9 m; J1 m( E& g4 V2 \
| ! P5 T* [; |9 h( K
| Select single tagged object using filter defined by mask triples. | | NXOpen::Selection::Response
7 o5 L9 m0 P% s6 G | 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)% k. Y6 L, k. M
| % O! |0 d( S8 Q2 L$ J1 f
| Select single tagged object using filter defined by selection type. | |
0 c$ e/ K+ T8 q; Q# d9 r4 u- g; n |
|