|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
4 _; w' }4 V% H( Z" }( y& ]/* 得到当前的work part prototype tag */
" Q+ ]" d; i& o8 u6 J& j extern tag_t UF_ASSEM_ask_work_part ( ); ) \$ B" B& |/ Z& ?2 U" A
/* 设置当前的work part prototype tag */$ V1 D' `( J) J( m
extern int UF_ASSEM_set_work_part ( tag_t part ); " E' J ]& ]5 }, O( L! |
/* 得到当前的work part occurrence tag */
* J4 M& D0 B9 Y extern tag_t UF_ASSEM_ask_work_occurrence ( );
6 m& Q3 t' ]# N- W# D7 ~) `; E/* 设置当前的work part occurrence tag */. m+ t5 }0 d. @/ D, N
extern int UF_ASSEM_set_work_occurrence ( tag_t part_occur );
7 T6 R8 h0 u, K/ o' C/* 得到根part的occurrence tag, 输入的part必须是根part prototype tag */
# x" a' j9 M+ ]7 J4 O8 F. F# F extern tag_t UF_ASSEM_ask_root_part_occ ( tag_t part ); . P2 a! f* m7 b
/* 得到某个instance的父part prototype tag */: v9 |2 l/ O2 P/ L
extern tag_t UF_ASSEM_ask_parent_of_instance ( tag_t instance ); 7 Q6 _. b% ]0 e0 g2 Y/ S. \' J, w& I
- `! E3 w! w, R* h/* 得到某个instance的part prototype tag */
L P/ ]( W9 L7 O5 K1 w extern tag_t UF_ASSEM_ask_child_of_instance ( tag_t instance ); & j! L- e. g4 H% F8 D6 j. ^
/* 得到父part下某个instance name的instance tag */
0 N& i2 E0 j) D/ w0 C: K) o/ iextern tag_t UF_ASSEM_ask_instance_of_name ( tag_t parent_part, const char * instance_name ); / h7 T! e1 _: S6 w, W' z
/* 得到父part下某个instance的part occurrence tag */
! X% c/ }2 C/ @" @/ q, r3 H# s7 Textern tag_t UF_ASSEM_ask_part_occ_of_inst ( tag_t parent_part_occ, tag_t instance ); 1 j8 _5 c1 f0 x1 w( Y. r# s! M
/* 得到某个instance的所有part occurrence tag */
! u3 ^- r1 n; l# p! Y, h' Vextern int UF_ASSEM_ask_part_occs_of_inst ( tag_t instance, tag_t ** part_occs ); 5 X: X! U5 v( N
/* 得到某个part occurrence的instance tag */
L7 c# C: C+ c) W* Pextern tag_t UF_ASSEM_ask_inst_of_part_occ ( tag_t part_occur ); 0 t/ i0 F+ c4 ]" u/ Z& u# a0 K
/* 得到父part下某个part prototype的所有part occurrence tag */
$ s5 Z+ c, L3 f) t1 H" m& R0 vextern int UF_ASSEM_ask_occs_of_part ( tag_t parent_part, tag_t part, tag_t ** part_occs );
$ y, o+ H$ B. o# F& }( \4 H/* 得到某个object prototype的所有object occurrence tag */
) O7 ^$ \% w! O1 @9 y, Rextern int UF_ASSEM_ask_occs_of_entity ( tag_t object, tag_t ** occurrences ); " o Y& i1 J3 ?1 [# h
/* 得到某个object或part occurrence的object或part prototype tag */" \% X0 G' |( L8 ~. p" f
extern tag_t UF_ASSEM_ask_prototype_of_occ ( tag_t occurrence );
5 X3 K1 g* f4 {9 I5 K- A, f/* 得到某个object或part occurrence的父part occurrence tag */4 c% i1 H( y/ q) \
extern tag_t UF_ASSEM_ask_part_occurrence ( tag_t occurrence );
" j4 _& k+ D9 p2 k8 x/* 得到某个part occurrence下所有子part occurrence tag */% b, \3 h$ q. e7 h
extern int UF_ASSEM_ask_all_part_occ_children ( tag_t part_occur, tag_t ** child_part_occs );
* q' |6 ~$ I/ c1 X6 f7 U/* 同上 */0 N6 p9 I, g0 I* r
extern int UF_ASSEM_ask_part_occ_children ( tag_t part_occur, tag_t ** child_part_occs ); 4 E0 c8 q$ z& E: w% e9 V6 C. J2 Y
/* 得到某个part occurrence中所有object occurrence tag的个数 */
4 G+ N0 U7 w o# V$ S4 R" `extern int UF_ASSEM_count_ents_in_part_occ ( tag_t part_occur );9 p( D" L4 O' S
/* 得到某个part occurrence中某个object prototype的object occurrence tag */
8 B- c4 g0 ~4 t6 u+ D' rextern tag_t UF_ASSEM_find_occurrence ( tag_t part_occur, tag_t object_prototype );
* N2 G E+ x) E( D' U/* 得到某个part occurrence在当前work part中的part occurrence tag */
* R) x+ u% `3 x6 p% jextern int UF_ASSEM_get_occ_in_work_occ ( tag_t part_occ, tag_t * occ_in_work ); . }, K+ w. S ?' a( N6 D7 l
/* 判断某个part或object tag是否是occurrence tag */
( W- A4 b/ L! d2 Uextern logical UF_ASSEM_is_occurrence ( tag_t entity );
$ |7 x2 c6 h8 ^2 x. n/* 判断某个part是否是occurrence tag *// V/ i- o: a0 o v. ~# H
extern logical UF_ASSEM_is_part_occurrence ( tag_t occurrence );
8 A% g& h# E. p7 |/* 判断某个part occurrence是否属于当前的work part */
b* @/ o. ]' {/ R% gextern int UF_ASSEM_occ_is_in_work_part ( tag_t part_occ, logical * is_in_work ); % P" W( ]0 F: i# x4 C+ I
/* 循环查找某个part occurrence中的所有object occurrence tag */
% _7 J) E- @) e4 D% xextern tag_t UF_ASSEM_cycle_ents_in_part_occ ( tag_t part_occur, tag_t object_occur );
9 C) [4 ?( u# b) O( k8 r/* 循环查找某个part prototype下的所有instance tag */' P$ n: k1 n$ ]* X3 W
extern tag_t UF_ASSEM_cycle_inst_of_part ( tag_t parent_part, tag_t instance ); / }( {" Q5 U6 c$ b2 d5 i
5 s) N7 y1 c; U7 {8 v, X9 t
' B& ^; | K" @6 i
# o& N' Q6 o {" G/ v; D9 r1 ]" j
|
|