|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
- H: X0 o# E; B5 c6 w如何通过选择,获取选择的点??很简单,看这个函数
1 G% g$ E/ O, A% j7 o& l" \, w# t2 {7 U' ~ [
最后的一个参数就是输出的点,也就是你选取时候的位置。
: G( A1 h' B0 G
* x) q% X2 y8 s J$ v, L- K+ J0 ^' J+ B7 L% a8 S9 n7 h
NXOpen::Selection::Response
: }7 y$ n5 X! @ | SelectTaggedObject (const NXString &message, const NXString &title, NXOpen::Selection::SelectionScope scope, bool includeFeatures, bool keepHighlighted, NXOpen::TaggedObject **object, NXOpen::Point3d *cursor)
- h) [; Y7 w4 k# ^2 @ | $ l& ?+ @9 m% R& S
| Select single tagged object. | | NXOpen::Selection::Response
0 h) w% T$ _: ^% `6 G7 t8 D | SelectTaggedObject (const char *message, const char *title, NXOpen::Selection::SelectionScope scope, bool includeFeatures, bool keepHighlighted, NXOpen::TaggedObject **object, NXOpen::Point3d *cursor)5 E: w w9 g5 Z! R$ \1 E
|
' H9 S9 Y, M5 ` V) I | Select single tagged object. | | NXOpen::Selection::Response
- k& Z4 n$ P; X2 X' ~# X4 s* d | 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)1 S' E5 U4 E* L8 D3 G: q* l
| . ~1 ?8 o2 b3 f$ q2 J6 n
| Select single tagged object using filter defined by mask triples. | | NXOpen::Selection::Response
8 G# B8 H2 k8 P2 q- a0 S- k3 x | 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)
5 O+ R1 R1 C0 | | * Y! B% G9 R- \& e! g5 h, b
| Select single tagged object using filter defined by mask triples. | | NXOpen::Selection::Response' c9 D( g9 n `5 G4 o
| 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)" I% h& a4 i) N8 p" O: [
|
+ X1 C( c5 g/ P | Select single tagged object using filter defined by selection type. | | ) b) S' ~3 j2 A" V0 A- c
|
|