|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
一个比较好用的函数,JT 文件转换成 Part文件
8 I5 m) F6 k& r. e4 m7 K. N( J& J3 H4 q7 c+ a
UF_PART_update_jt_brep (view source)
0 E7 t1 V" H# R( c) h2 A
0 ~" s! _2 v+ f* B3 B- YDefined in: uf_part.h
2 q: @/ r! u. n- a5 R" Q! s, t ; f% ^: Y N& n8 K* A) Z
+ S- G1 P1 A W$ n1 Q1 y, ~" }+ n
Overview _ m7 {7 q$ K4 |- [
0 C$ w! y- g) n1 K# k
Given a part that originated from JT data, update it with the BREP data. 0 Y/ I7 G# b# T1 h& S2 x
8 d h, u, C4 ~: eNOTE: it's an error if the input part tag does not come from a JT file.
2 |; }3 i2 [% \5 r3 }" ~0 R& H3 D) p4 f' W) W
3 H- L; h, [6 S
Return' q6 d3 `3 O5 N5 D' e
# q( b' b. u& F- K5 `0 W6 J
Return code: p% j2 u1 h" m2 ]1 ?% Q- t; I
0 = Success
3 d* K- W- Y6 L2 a* [( A, t1 Z> 0 = Error code, use UF_get_fail_message to
8 \ a. D2 z- |& ? t5 M7 Uobtain error message string
- e/ v1 o7 E* o8 F; D6 `& u% T) I5 z6 Y% K+ L6 V' I: d
0 Y7 p$ E9 w+ n, s
Environment4 t2 G* A+ ?; {7 s5 z: w
- ], J) \! n) L' d3 k6 p4 ZInternal and External ; v- j- Q- t+ O; _. X7 U
, k3 \2 o1 T% p' r
" h+ d& a- A# [; {History& Z+ `' \' `- s$ w# f; |
?1 B/ t3 C, n* T: j1 hReleased in NX4 5 Y+ Y C8 D( x! I/ k v4 t
8 q+ P" i# c3 _( u1 X3 _0 Z
* M' _3 ]: i9 V9 SRequired License(s)
1 O: d1 Y3 T. `% U# Z! e$ [
z" L5 I2 P- xgateway' X, ]( j4 x* [4 ?2 F( E
6 S7 x; z5 J, U6 N" g) \. u" k9 C& j5 U8 u H1 a+ H5 o# m
1 [9 t- k" d- Kint UF_PART_update_jt_brep
: a% r# t+ R( r3 J6 y2 @% G(; T/ B9 f, Y" m; x7 a, Z
const tag_t part_tag * [4 o3 P# x/ N/ u7 r- N
8 f& _* X8 ~: t- C6 P' |5 U0 R)
v3 T7 F: [" Y. ? l/ p2 \8 [7 F: S7 i: j0 E) L( L5 M# K$ @8 m
const tag_t | part_tag | Input | The tag of the part you want to update the BREP of4 L9 M, j# t6 U4 }/ U# n* v
+ ^$ H, V5 L) p" p& |9 A. z
| / ~* f2 I, M6 w' {7 h' l- k) o
|
|