|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
一个比较好用的函数,JT 文件转换成 Part文件 0 n+ ^) l3 x' a5 A% z
* O0 u3 b, E$ f8 k
UF_PART_update_jt_brep (view source)
M9 U" P- X3 |+ V' y
# C4 Y! q7 ~0 gDefined in: uf_part.h2 ^5 V4 `, d% `2 B7 u$ X
- B: B, T, g E! `2 c# D
# R2 L: L/ e4 [2 g' P' P$ k0 k+ cOverview& W0 }* }+ P, U2 I. v1 v A ?5 G
# S1 X( q' Q& k% G
Given a part that originated from JT data, update it with the BREP data.
8 m. n5 }% X! F4 O; R! i4 m x
: h' ^7 M) ~" q- r& }NOTE: it's an error if the input part tag does not come from a JT file. - v; d* y( E) k- c/ z* N0 i
3 t/ @ `+ r- i4 L: {
* M! j# f2 b& h9 K* c/ pReturn
! W4 ?" |. d2 d2 u) U% }" M6 K
2 R* g ?, ], |6 PReturn code:
" [( ]% @) `' n A0 = Success
& k8 N% d8 U' E6 x> 0 = Error code, use UF_get_fail_message to
( h. H. u/ b9 [! ]4 }obtain error message string
: u& |! K! b+ X3 |* B2 C; i9 D0 c) L/ x5 d) @
* D4 r2 R, ]! H1 t5 ]9 ?( R
Environment2 B8 \; H9 s2 W/ K R
# F; k( Q! t9 r, W! Y, Q$ y
Internal and External ' a9 Y2 M1 m, Z# {8 l; Z
3 f7 q# L: q6 \" W* N
5 Q2 e/ U S/ vHistory) _9 ^* `7 ]6 c
# Q H; h3 I" Q! p
Released in NX4 2 u" P; M D! q4 _5 l; H3 L
5 U7 m" F' w. r$ `# L5 ~& f
4 ^) B7 ^! t6 u" r6 {$ c0 I- P' ~Required License(s)- q. l- D8 d [
2 T. j- h8 B; u' I0 a: H$ }( d; y& ]9 P' n
gateway3 h6 d" ?/ S. C7 Z, f V
3 Q+ p6 C. I) P8 T! M. K6 p1 h O" T. o+ P5 }. K
3 l5 h4 K2 D5 R0 k) w1 f/ Z$ bint UF_PART_update_jt_brep
0 X9 Q0 F4 r, m9 f9 i(
. x a0 J% v; S" P* zconst tag_t part_tag # w f0 U' v! k0 t' [# v/ x' R2 Z
/ [6 e. S. d0 ~4 H)5 e* N. p7 y! M; r+ `2 S# G$ N
% ?* `" I4 R8 j* t, ]
| const tag_t | part_tag | Input | The tag of the part you want to update the BREP of4 Q0 _, D; d0 p! e
4 H9 }9 |' v" j+ J& \2 e | 0 t' q2 D9 X H8 ^0 @3 n
|
|