|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
一个比较好用的函数,JT 文件转换成 Part文件
; g* L8 s5 _; u U
* e. W6 o- U4 W& e2 w7 J# mUF_PART_update_jt_brep (view source)3 m5 r! N' {2 J' z: I2 Z/ |
; Z8 W1 v( Q' e, zDefined in: uf_part.h0 _5 L! f1 O0 n& `/ j8 w
. U( ?) u( m1 R2 U. U+ k4 h- Q
R+ r3 I7 F: g* d( tOverview5 k0 {. r9 i! o' Q& F4 e6 e
- F7 N: b1 a& L& gGiven a part that originated from JT data, update it with the BREP data. 5 f, v! E: W+ ?* Q3 c/ P
$ V* Q( n& @* F8 n) y1 o3 xNOTE: it's an error if the input part tag does not come from a JT file.
5 R, g3 _3 S! C8 G8 p) g6 X+ y {3 T9 ~( l
+ p- o3 E) H$ Y1 tReturn( j* g' \# F, l! K
1 b% F, y6 | K; H" Z5 p$ g; S- c0 ZReturn code:
I# H) q* t( l9 O6 g9 i) @0 = Success 3 Y5 C% y; s. J0 y, S |/ t3 P
> 0 = Error code, use UF_get_fail_message to
' x4 [% l+ z$ m- O' Q5 x$ x' z" L* x9 Z) t/ Wobtain error message string
! i1 c, S* `( g0 \& O- i5 R6 x! R0 K0 A# D
: q3 W! ]. g M1 D/ v% ]: ^
Environment6 g1 e* _* J* q: {1 N
6 ~- M9 I5 t5 u% {# {Internal and External
! { x) t( O& L4 C) a$ V. [" i, w3 |7 x
8 s. P+ e/ E5 u6 b- n
History& d' y) o* N" S& i3 l
$ X% k+ D6 C; C% _) ^3 tReleased in NX4
! [; b# u4 O8 W3 G P( I5 \
% ?; `* s: V5 G8 U7 I7 X( ]9 ~: g1 z+ M
Required License(s)7 t$ I0 ^. V% o2 e
+ X* l J5 ~1 p9 ~* ?2 ^3 Q
gateway
6 a. Y" Y' }1 m0 @- E2 P# X/ U& l( g5 P" S$ j, g$ ~
' f0 T; R' {0 u6 [$ L. l
8 u% N' z/ H" I7 h5 Cint UF_PART_update_jt_brep! y* z0 ]% ~: n% |3 S, l6 F, I
(
# G, [; W9 p- u$ l6 f' Zconst tag_t part_tag
& f! T$ j) A# K1 f/ E2 U! C" D
* l7 U# H6 \& \9 k( ?)
' L z# l1 I, p8 n# k
% o4 j5 U7 g. K/ [8 `) e5 w" Wconst tag_t | part_tag | Input | The tag of the part you want to update the BREP of
: @! V9 N* f& y8 k
( M p! |8 a+ X4 C4 T0 U' r8 P2 ^ | 2 V4 E2 ^7 G4 r6 H+ U% f: ? J
|
|