|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
一个比较好用的函数,JT 文件转换成 Part文件
) S' ?( q Z K. N( Z3 `. B: R4 f6 v e' p
UF_PART_update_jt_brep (view source)! b% Y' F% Q; R. b- k4 c2 r
- g# F* M7 A1 L" w- V1 p: RDefined in: uf_part.h
* Z1 Q) M% ]1 ^4 s6 o 6 v1 _5 f7 U: z8 v
( U2 `4 F- ~* b& ^0 E& ~Overview" m7 C6 m4 ^. w( ~+ D1 V9 v# m
& V* Z' d% w; F4 Y) eGiven a part that originated from JT data, update it with the BREP data.
$ J9 X, m; N0 S9 X }" G9 I1 u9 S7 @! \2 F
NOTE: it's an error if the input part tag does not come from a JT file. 6 |2 o l, X( Y/ B# @, r- S$ \
; `8 F. S1 o w7 P
1 k% a- b2 w! ~) _- d! b" xReturn! ^; F) U+ t' X; N" a2 d
) n$ U" q% f: V* a/ _ Q5 l2 n1 wReturn code: " V4 g5 _/ t; Z! r3 J4 K- G0 x0 s
0 = Success
$ b; }; |- G* K; O M# x> 0 = Error code, use UF_get_fail_message to
: s9 Y: Q, d; ^$ K: ]1 p$ fobtain error message string 5 b! W; w: q. D ~1 m5 e5 a
r8 W5 c3 ^8 q6 V; M/ _
6 S2 W$ k; _( Z9 T( Y+ X. `1 ]4 SEnvironment
. l, _# e; W. d1 u: x* b. |
9 v+ S3 H9 {+ k! l' oInternal and External
6 v2 h; S$ B: x9 ?3 \2 y& X0 M2 ?% B1 C" J/ R, C* A+ P3 f! ?
6 H; R7 t* [* z |# e" T6 f AHistory4 y3 t& P; {8 X0 ] F+ t
0 b0 S) b$ K. w( I+ E2 P( ~Released in NX4
$ v4 t0 ]$ L) s# N" l# Q- h : ~; x/ f" m |& F, `9 ^0 f$ d6 i
. J7 C% L3 h7 ]- [' TRequired License(s)
, [! Q( z7 B2 V% R( |
; f) i5 T7 \ d1 s" S/ D8 N4 ngateway
T1 J& [6 I( J) D0 y/ W: a8 p8 ]8 P0 t
% S g0 Z6 Q: z+ b& ] $ D1 `/ t7 c: u1 E- N& N6 H
int UF_PART_update_jt_brep
, R/ O( a$ `/ f2 L* k, t. b(
& o& R3 k/ l! g) }! }& [! Mconst tag_t part_tag 5 ]+ d# t1 V# j8 d6 l% d+ t+ j) i4 t
! D, F2 x5 M0 k B0 Z; j* v
)
, J+ ~" w6 f6 E6 k1 I8 k: X2 U! A; g# V1 [4 b* p. b
| const tag_t | part_tag | Input | The tag of the part you want to update the BREP of
( h) q9 a+ a: g2 J9 ?$ K2 Z- `& |% W( e* O- P2 N
|
. f' a" Q+ V. s: ^( j |
|