|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
一个比较好用的函数,JT 文件转换成 Part文件 2 ?3 Q; Z+ _; H
' c& ]6 v8 b7 N. |: P! z
UF_PART_update_jt_brep (view source)
7 a6 C. w% @. x# M
" V" O7 `$ ?# j$ [0 Z, TDefined in: uf_part.h
) a. X+ B4 X' o T* c+ [ 0 k: F- {8 g$ B) p; H9 k! V! {
: Y& W A% z1 G
Overview% M: E1 j3 T# l# ?. y$ z# L8 l
3 O8 R. H6 Y6 J" D1 W2 r
Given a part that originated from JT data, update it with the BREP data. & k2 e9 V! w" r: ?
* Z" ?+ T1 m8 j5 D, {* ^
NOTE: it's an error if the input part tag does not come from a JT file.
6 X5 z4 L" |' x) o. Q7 ]. O9 x8 A8 T0 T$ ?
3 A5 e; ]' l ]+ E3 \( r8 y/ w
Return! a) a% [0 B2 X1 c
9 g+ X; L6 E6 M0 EReturn code: : O8 c6 Q) b' q" o. e a
0 = Success 8 @$ F4 \: M. l% D8 v1 K1 H( h
> 0 = Error code, use UF_get_fail_message to
' m9 s2 b& M0 D) j4 Mobtain error message string
* r! a1 q8 x8 F4 ? x9 w
8 o+ X& @, {. {0 I8 h. r* ]
2 |6 n$ G* r1 u; Z5 {5 iEnvironment
1 z, i! q" c( y! R: T$ q- v; n! J/ I' o
Internal and External
1 Y% G! I6 T6 Z% [( J( X$ T$ ?
3 g6 W. l$ Y' m
5 s+ P1 O; m0 A* S, mHistory
1 v$ ~/ H- y: [! Y! P+ H, b( m% B) R
! n, ~" o7 m" Y0 A/ F* WReleased in NX4
3 V, r# G# f& t; w( E2 C - u) y: l1 y, c# t" c$ S
7 K$ i6 ^7 r6 b/ J5 w7 \/ G$ a# F9 CRequired License(s)
6 Y4 r2 H3 u; H! S' ]
: r- Y- R% X7 }( a5 D) h4 bgateway
; {+ V; |9 A& D
- l) g- o9 R" L# t( \8 N
. D4 Q. A8 a6 L: b , G, E! J0 [4 ], ?+ p( x
int UF_PART_update_jt_brep
6 I h/ `( H) T+ j3 @" v(; K: E* o3 |6 w6 n! r; D+ c
const tag_t part_tag
' Q" v% q5 D9 @2 w
- w8 _' }2 C; J G0 \)
0 `5 Q( s2 E) j9 g' n4 d+ d0 ^: d7 o6 y. u% A: {( ^' x7 {
const tag_t | part_tag | Input | The tag of the part you want to update the BREP of1 R8 P- U6 C2 }$ V5 R
* i+ F1 c5 j0 W0 f |
1 `8 }- u8 e$ Z4 [ |
|