|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
' U' U- g) o5 d' e4 j
如何通过选择,获取选择的点??很简单,看这个函数
- S8 P/ Q' h/ w# r# `1 u7 y$ q
, j, z" F; O+ p1 K最后的一个参数就是输出的点,也就是你选取时候的位置。
4 U' K+ J6 X% R) {: t/ ], l9 M6 h& l: e: j
) w7 D! N) W9 w3 N' k8 u: t6 BNXOpen::Selection::Response
" b9 }" {' l( O4 D; O0 p- f | SelectTaggedObject (const NXString &message, const NXString &title, NXOpen::Selection::SelectionScope scope, bool includeFeatures, bool keepHighlighted, NXOpen::TaggedObject **object, NXOpen::Point3d *cursor)
% y9 s4 T4 A% h/ R: p5 _6 {6 ] |
, |# N& `5 p2 K2 j! ] n | Select single tagged object. | | | NXOpen::Selection::Response
; ?* u6 K+ b( G: t+ ?( k5 D | SelectTaggedObject (const char *message, const char *title, NXOpen::Selection::SelectionScope scope, bool includeFeatures, bool keepHighlighted, NXOpen::TaggedObject **object, NXOpen::Point3d *cursor) ?% H- F" E, H9 m9 J- Y% P
|
. h5 F' z' `: v, i$ p | Select single tagged object. | | | NXOpen::Selection::Response
: e7 \# L: `) Q- {2 |8 @ k# t | 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)
3 M" v. { p7 q) e. y, d |
* S( _6 J9 L i | Select single tagged object using filter defined by mask triples. | | | NXOpen::Selection::Response
8 `, S0 j! {5 R& V | 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)
; @0 j$ ]8 p+ X; A/ a h- o |
9 B1 h- ]* b3 `8 U+ W | Select single tagged object using filter defined by mask triples. | | | NXOpen::Selection::Response8 ?5 [( o: f$ n2 S$ j, _2 Q
| 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)% ~1 X; o9 k+ ^
| & a: I S' T" k8 U6 B
| Select single tagged object using filter defined by selection type. | | | $ G# D& T4 b- N; |; v' c
|
|