|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
一个比较好用的函数,JT 文件转换成 Part文件
8 ^. ^: l9 L& U* C9 q6 Q1 B6 j" }7 N) M2 n
UF_PART_update_jt_brep (view source)
$ x! n' @2 U% M # S5 G: N3 W' A2 s
Defined in: uf_part.h
0 s1 l2 Q! g- @
( Z" U4 }- L# z% c; i7 z5 }6 ~2 Z& D- ]' u, p
Overview% e2 i4 q9 {% a+ Z# ^# y+ A" r0 E, _
. D+ @7 t! u! k/ d4 b% d" UGiven a part that originated from JT data, update it with the BREP data. 1 `) G+ F; a# j* q
4 f& e' q; Y2 oNOTE: it's an error if the input part tag does not come from a JT file. ' ]9 G% h# y9 i! G, ^6 S" Y
0 y6 B' p+ @: z
% F- r% h: q& R& |. DReturn* Y3 `! _, N+ J$ p
2 @& R; R- {: w# D7 v* k1 w2 ^5 DReturn code: & @- h- R& j) W, [- W
0 = Success
$ n; K9 t% Y: ]9 S9 v6 I( w0 i$ ?> 0 = Error code, use UF_get_fail_message to - y- [1 v7 @7 @; C" U
obtain error message string
# c6 L- c$ N# ]3 O% l! c+ K, w3 G9 C/ Y& a1 v3 |
; ^' V( g" ]4 ~+ p1 P+ q. B
Environment
7 W0 v8 W* c6 m0 Q( ?: U5 a5 O3 o) g( b9 s4 P) \8 ^5 f
Internal and External
, A% {$ _/ u- d4 ?0 L! r/ H h
/ q/ ]8 A8 |" N5 Q/ Z( i& Y5 ?5 R7 O9 W0 f& e" x
History0 N! v! o7 C; B9 |; M
/ d \6 w- `/ o* Q8 A7 m) Y
Released in NX4
V0 O' [- @) A1 x0 d 5 D- z; _3 W' V$ u- E
; p, H1 J6 b1 i$ G5 ?Required License(s) Z: B4 l. O- Y- U
) S. h% f, x; ?! z; c. q( |gateway- g1 G& M% q3 F7 _% E: k
& k9 ?, z0 M; f
! M! W( v6 {+ |7 g5 {7 a
8 a: G" q2 R5 ]' \- n
int UF_PART_update_jt_brep1 m5 n. s9 X% d6 x
(
% @& _( l/ H/ D6 @+ s+ Kconst tag_t part_tag 4 |% D! x/ `( B- O/ R( s E, x4 A6 U
5 c8 T2 P5 m, d3 w# I5 a. Q# ])# b1 C P) Q7 d
6 P0 i4 s7 K& i# R, R2 Xconst tag_t | part_tag | Input | The tag of the part you want to update the BREP of
r+ z& g$ _" n L
5 }* c$ x. ?* L; |1 q1 f |
8 c$ k3 ?! M7 f* Q |
|