|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
+ B" C" \# s, {. ~' {& \
如何通过选择,获取选择的点??很简单,看这个函数
* v1 p1 v0 b, c0 M; i3 W' j( U# u
3 F4 Z0 q# j- o最后的一个参数就是输出的点,也就是你选取时候的位置。
: w% P* T- }+ n) r
. j. q& C9 J& j) } R) k" |6 ?5 e0 c/ I" R6 y5 B
NXOpen::Selection::Response& L, R& I0 _, V$ T' Z& P: x$ E* M
| SelectTaggedObject (const NXString &message, const NXString &title, NXOpen::Selection::SelectionScope scope, bool includeFeatures, bool keepHighlighted, NXOpen::TaggedObject **object, NXOpen::Point3d *cursor)
* _5 ?- @8 a/ {9 t% i) [ |
2 K4 l4 I: o8 `1 ~ | Select single tagged object. | | | NXOpen::Selection::Response
6 ^4 y# n! @ K7 D | SelectTaggedObject (const char *message, const char *title, NXOpen::Selection::SelectionScope scope, bool includeFeatures, bool keepHighlighted, NXOpen::TaggedObject **object, NXOpen::Point3d *cursor)
6 f) V3 m- I3 z# x) p M$ u7 P* R8 V | ) x- l' h+ ^6 ?' U
| Select single tagged object. | | | NXOpen::Selection::Response( c. R$ T9 s6 S0 N; k- | c! 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)
+ f$ T4 F4 f! Q2 s6 Q+ D4 @ |
. P; i4 y* w+ D | Select single tagged object using filter defined by mask triples. | | | NXOpen::Selection::Response: K. T4 \* m+ ?+ n: ?' p
| 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)
9 v$ A, x2 O; J- A) E# g | - B) V1 F2 S) t7 p3 _/ b3 A! m
| Select single tagged object using filter defined by mask triples. | | | NXOpen::Selection::Response
1 `* z8 P) T$ B3 N4 b | 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)
( y7 ~5 x3 X4 r6 q. c, e" V | 4 _- S% A/ }2 W/ ?6 a$ t& N
| Select single tagged object using filter defined by selection type. | | | ( v; T' A: ~8 M6 j5 `4 B$ x! k
|
|