|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
一个比较好用的函数,JT 文件转换成 Part文件
" G2 X. m; k! q+ w/ @3 u2 ^
) S8 F5 c+ Q4 G. S/ b7 ?+ o; CUF_PART_update_jt_brep (view source)7 i8 L5 }9 C& r% C& G; M E
) w- T/ ^$ r, `& aDefined in: uf_part.h
: y6 ~) u8 ~1 M% w# E$ n % N: y/ F# {2 V# t4 O% p R1 K
1 Q5 }; W' B) q% HOverview
, @, f E) n5 U$ H# H3 Q Z$ R" |
! q) c8 l6 a# e$ @9 tGiven a part that originated from JT data, update it with the BREP data.
5 t2 r$ ~: y J6 U& T3 P7 }
; X4 z3 A# a( T- u- INOTE: it's an error if the input part tag does not come from a JT file. ! P9 m) I) F' D! j
& W. _- n7 ^" M" e8 g# o: B4 {% D
Return% }- R- {/ A8 I* |2 m
! [- t+ \3 _ }6 b
Return code: ; u* C. K/ @5 ]. `9 o- T" r) R/ M' j
0 = Success
: Y' k; I* v7 e4 F> 0 = Error code, use UF_get_fail_message to 4 j5 N; ]; H8 s. X- G' p+ S
obtain error message string ; x6 q& T W+ A0 \" x3 T
4 R z& u. R \: V
9 p6 }& [8 x7 X: z$ s; S+ NEnvironment
( F, m6 ~0 @' T: o* R" k) A+ O" b. Q2 {/ c: R8 a: ~+ E1 m
Internal and External * d0 v/ Q$ T. P( _$ z" a D3 j
$ i, l# z! @4 j# T* ^8 y. Y' G5 q2 ^: L- y8 [& w. Z
History) G% d8 E/ c' _
4 u) n' P2 n0 C& p+ z& qReleased in NX4 : n# t! X4 K( `" P# L" ]; L
4 `7 M# K( R% Z# P. j8 E
2 ]9 a0 K! X1 SRequired License(s)
5 N0 m9 W$ a% v; N0 d6 W* K/ I$ t2 ]0 ?$ `7 f+ e
gateway
' Y+ i; Y4 @# z2 l( u; B# y; r4 j) b& Y$ F- F" P8 S# i4 Y
' B& F1 W/ k- z1 E+ T* B& x+ X $ I/ n" ?! o% n" U8 ^
int UF_PART_update_jt_brep
- a5 ?4 q4 e' n! X1 Y2 d(/ x; ^$ C7 ]" g3 H) y# B! I
const tag_t part_tag
3 J x3 c0 V5 v/ b1 `9 [( e
4 b% n1 L, h5 L1 e)/ X; R3 Q, q* ?! w
- e/ F1 N a0 `2 ]
| const tag_t | part_tag | Input | The tag of the part you want to update the BREP of
( R" {( C d. {' Q. ]4 a0 M. |- k9 n
|
& N9 C+ O6 {; M3 l |
|