|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
/ P; T7 T( G. y3 v* A; w I4 u如何通过选择,获取选择的点??很简单,看这个函数
2 s0 E0 C. z; }, w5 P! H: x7 ^& F7 i9 r) H0 y3 B
最后的一个参数就是输出的点,也就是你选取时候的位置。, }8 E$ E! x' E. w2 k4 j
4 x0 n: Z2 G! r5 r! x. H% Z
. ?0 Z6 ^7 M- vNXOpen::Selection::Response
6 x2 D: s8 C4 r) P | SelectTaggedObject (const NXString &message, const NXString &title, NXOpen::Selection::SelectionScope scope, bool includeFeatures, bool keepHighlighted, NXOpen::TaggedObject **object, NXOpen::Point3d *cursor)
$ w2 E6 s& z% B- |- g3 K/ a1 f& b | 1 Y' o0 H/ _0 F) a& j
| Select single tagged object. | | | NXOpen::Selection::Response+ y# c/ U. w) l8 E7 u% q* J( b
| SelectTaggedObject (const char *message, const char *title, NXOpen::Selection::SelectionScope scope, bool includeFeatures, bool keepHighlighted, NXOpen::TaggedObject **object, NXOpen::Point3d *cursor)
( P( t" _/ N9 v: y | 7 W) a& i" M' F" X
| Select single tagged object. | | | NXOpen::Selection::Response
& }, e! F$ i8 R# x7 \- [ | 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 T7 d" J0 g7 {# F | $ h L8 U/ W9 a9 b
| Select single tagged object using filter defined by mask triples. | | | NXOpen::Selection::Response
7 O9 Q2 b/ s' m0 ` | 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)
) t" O8 k+ K+ c0 z& u! X8 e |
$ ~( n& p" [$ P) @' T" z | Select single tagged object using filter defined by mask triples. | | | NXOpen::Selection::Response
) ~5 x& D% B s& P) ^9 ? | 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)9 Y8 ~, t+ H" o
| : ]. [( Z0 E/ z7 f* k
| Select single tagged object using filter defined by selection type. | | |
( ^* ~6 S5 v2 s, S; F" s2 x |
|