|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
一个比较好用的函数,JT 文件转换成 Part文件
% r8 f4 j6 ?# _4 C R0 T/ ]' f) v3 l- E, l$ W
UF_PART_update_jt_brep (view source)6 L5 t+ n' W3 v% ~0 k
8 O( U+ r( r$ ?$ v' `! g& ~
Defined in: uf_part.h& ~# K7 L. n, K ~, |9 @& {4 R+ U: \
8 y3 p( t, ^3 ~% H: ~6 s) ?& r
& I& l: f P' ], g3 ?Overview
: E8 g0 G2 ~+ l2 z! g- E/ l6 s
) k. k% b) s0 H; B- J8 m7 {3 y6 RGiven a part that originated from JT data, update it with the BREP data. ) m# W3 w: {8 a2 H( `7 t
0 k2 g; d# g( }( R: P# WNOTE: it's an error if the input part tag does not come from a JT file.
/ L( d4 c, ^: c. D" i5 I2 m$ G: Y7 w8 J5 [6 Y% H
# i1 b# ^. w( |( m1 Q# K: iReturn8 C) W1 G* o" v4 D
- H9 M/ V8 S2 r: m& s! J5 ^2 f
Return code:
5 e; x2 Y+ P7 I$ u6 f0 = Success
& Z* s. R6 ?8 y> 0 = Error code, use UF_get_fail_message to t3 b- M) m) S5 ?3 b% G2 T* E$ u
obtain error message string ! ^) B/ }, T9 k0 t$ p, Y
% \) u2 x1 d5 Q8 Z& W) Z
' H, K2 ?* z8 ^ N5 I! WEnvironment
) Y2 I$ E5 O: q' J
# A7 t9 u5 W' A/ s6 eInternal and External
% N. Y0 W6 f& s' b1 n1 ^* z2 v& \% A
4 N# u+ d/ f3 T" k7 ~+ L: `
History
7 x7 {5 L; p; Z8 m# a$ O( m+ C3 L: {2 h6 Q: W( ?
Released in NX4 / w) y" V, ]2 E1 @/ B5 W- {7 R
5 ~# I0 W# j% z B; R
3 i' g8 C* O9 ^, j# z
Required License(s)5 w0 I8 C8 O) W/ D3 T. t: A1 @
. U3 Z3 K5 i2 v' s) P$ R
gateway
* u3 t0 z, _& C) N2 C" r) C1 i) ~; G" [- _
; U3 J, w4 a& }+ N3 O
: x2 S& W' ]0 b0 O4 |( Xint UF_PART_update_jt_brep- |7 a6 Y/ w' r7 L& ]; \3 q
(
* G: K( |: ?5 o* Oconst tag_t part_tag ( h) g3 o- h& y5 ` D
5 U5 a8 Z0 x" p) o4 J' l" ~3 B! ?)" n3 e. `( N4 V9 i9 {* ^) m
% ^& |3 `, J) ?; d5 }) a| const tag_t | part_tag | Input | The tag of the part you want to update the BREP of
; V" U# t R( Q7 B6 A2 O8 }3 b* x: V8 o
| + `. }; X0 I7 j: Z* _
|
|