|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
一个比较好用的函数,JT 文件转换成 Part文件
1 n# G3 \2 J) D+ R2 f) a1 f
3 Y7 \8 `. c- x1 g( `! @3 cUF_PART_update_jt_brep (view source)$ S# U, @" H/ C* a2 r. Z- w
# h" r |* r# b4 b) j
Defined in: uf_part.h& A" Y! k$ \% T1 x& I
* J$ Z3 I3 p- y1 D5 X7 Y. ~5 p* H( j& J
Overview
* E$ x" S3 B' @ s9 K( t+ m9 P) f: ]; F4 B" U- c
Given a part that originated from JT data, update it with the BREP data.
/ q( r' m* ~: m# M l" o5 M& n# S( k
! e( x: E; @; y! A/ \3 RNOTE: it's an error if the input part tag does not come from a JT file. . t; n$ W( X/ Q, }
8 a. C/ G2 E, v/ r; c+ K4 N
( v1 b7 Z% Q8 h7 |, L0 q
Return. e. w" J% F& F/ T2 \0 z
7 e- a6 L3 w9 d, c7 g% [Return code:
7 l) n0 G9 Y* u7 J0 = Success 1 t& {. Q8 g2 j6 V2 w1 s6 _4 }
> 0 = Error code, use UF_get_fail_message to
$ ^# E* ]! ^; }; \! u2 mobtain error message string 2 }2 L0 |) ?$ c
$ \0 h) r j7 N0 |) y/ M
4 Q6 z2 A* I" ?' r2 b3 sEnvironment* Y7 y6 a. o* Q4 X* j0 z; n3 f
! b& g, a) ^, S2 f2 A' s
Internal and External 6 l! H9 p# }- K$ {
, D7 Y- C! c' \$ |9 b- w' Q7 B- [5 e( t
History
" w5 N8 h! C( ^2 a
& a7 P* }* b6 |7 }# x: jReleased in NX4
* r; ^2 j3 T) C8 O
4 G$ s1 I! `- R7 B& X. V% U$ A4 Y* P* i+ V
Required License(s)
! L1 [8 w. ^" E! s& o3 @. \1 F0 y5 S$ U/ |# ~
gateway8 H* O# N0 p- c. ]% m
; y/ N! X: [1 Q q
9 b; E4 I' Q: A9 a ) F9 `7 e, V3 v' K
int UF_PART_update_jt_brep# @$ m/ Y" o9 b# H @
(
! e* b& j3 n% i0 A+ K& Z8 ~/ Bconst tag_t part_tag
$ Q+ f, B* m% }+ x- H( j
. A4 n* }# E2 Y# g4 n)
5 ]0 X4 _4 o7 q' a0 |) \ ^- V o7 q2 Y+ l2 C
| const tag_t | part_tag | Input | The tag of the part you want to update the BREP of
9 l7 s* _ N; J7 U( w6 c: }) D- u
# c& l+ B- G; @7 o4 g1 U5 v. T | " i5 i1 \* Z4 M! L
|
|