|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
0 y3 G+ @( U! L m
/* 得到当前的work part prototype tag */. { G- j$ _* b4 g3 p; e, {0 E
extern tag_t UF_ASSEM_ask_work_part ( );
" \, X! u4 l; _ b# B8 s0 `/* 设置当前的work part prototype tag *// U% a3 H4 w9 v3 `: c+ e" v6 N
extern int UF_ASSEM_set_work_part ( tag_t part ); % X' |0 m' C% A/ L! m9 @+ D
/* 得到当前的work part occurrence tag */
6 c9 d" j+ l6 w8 V" Z3 u7 @! _ extern tag_t UF_ASSEM_ask_work_occurrence ( );
$ B; A$ P5 F4 o8 w# r! T' O8 Q/* 设置当前的work part occurrence tag */
( m" c$ s& _- _ C* h extern int UF_ASSEM_set_work_occurrence ( tag_t part_occur ); ; S& ^0 b2 N: I0 P, b f
/* 得到根part的occurrence tag, 输入的part必须是根part prototype tag */+ J; ~8 e( q/ ?- p0 ^
extern tag_t UF_ASSEM_ask_root_part_occ ( tag_t part );
( ^0 `& @3 y' \5 k$ O, B% u/* 得到某个instance的父part prototype tag */1 ?# J4 H' x$ }
extern tag_t UF_ASSEM_ask_parent_of_instance ( tag_t instance );
7 \: n9 f6 @5 {3 K8 k0 l3 N1 V" l" P/ i) q2 r/ ~
/* 得到某个instance的part prototype tag */) Z& {& H0 x2 w9 g) ], h
extern tag_t UF_ASSEM_ask_child_of_instance ( tag_t instance );
+ f0 n+ V0 n- A' P! M/* 得到父part下某个instance name的instance tag */+ y5 t9 H0 w$ i+ u" G
extern tag_t UF_ASSEM_ask_instance_of_name ( tag_t parent_part, const char * instance_name ); " J+ S9 y1 h4 g& U3 U v
/* 得到父part下某个instance的part occurrence tag */+ R3 o! _: U- \
extern tag_t UF_ASSEM_ask_part_occ_of_inst ( tag_t parent_part_occ, tag_t instance ); 8 | N) h5 U+ x! s8 i3 O
/* 得到某个instance的所有part occurrence tag */( ~# {+ T5 K g0 M$ _
extern int UF_ASSEM_ask_part_occs_of_inst ( tag_t instance, tag_t ** part_occs ); 2 Z4 a3 N8 C. e- K
/* 得到某个part occurrence的instance tag */
& F$ f. b- j% Y# v. s& Cextern tag_t UF_ASSEM_ask_inst_of_part_occ ( tag_t part_occur );
2 m$ H. T7 { @/* 得到父part下某个part prototype的所有part occurrence tag */
! n/ l v3 N) Z* h# Pextern int UF_ASSEM_ask_occs_of_part ( tag_t parent_part, tag_t part, tag_t ** part_occs );
/ c8 R8 v& F* k; n/* 得到某个object prototype的所有object occurrence tag */, y2 Y; B6 S3 Y8 F3 W
extern int UF_ASSEM_ask_occs_of_entity ( tag_t object, tag_t ** occurrences );
& C ?8 a# x/ S6 o! Q/* 得到某个object或part occurrence的object或part prototype tag */
. t2 w) L* K% l: j8 Uextern tag_t UF_ASSEM_ask_prototype_of_occ ( tag_t occurrence ); / S1 Q2 x% S. n% \# q) ~2 c8 N
/* 得到某个object或part occurrence的父part occurrence tag */3 D8 T' s: c$ i* ?/ J0 E# }3 t3 |
extern tag_t UF_ASSEM_ask_part_occurrence ( tag_t occurrence );
9 H* q# ^& _2 k2 b" r/* 得到某个part occurrence下所有子part occurrence tag */& N% C, x- W" }: C
extern int UF_ASSEM_ask_all_part_occ_children ( tag_t part_occur, tag_t ** child_part_occs );
, M+ K: E, w$ r- q/* 同上 */% n, s8 h& l* w0 B3 N, v5 Y
extern int UF_ASSEM_ask_part_occ_children ( tag_t part_occur, tag_t ** child_part_occs ); X, B* ]* b5 h% ?: F8 l
/* 得到某个part occurrence中所有object occurrence tag的个数 */% |* X4 W4 y; M+ Y) u/ F; B" J
extern int UF_ASSEM_count_ents_in_part_occ ( tag_t part_occur );
% K! g- J0 i% @/* 得到某个part occurrence中某个object prototype的object occurrence tag */( I ?; Z2 t, x5 f. G5 K
extern tag_t UF_ASSEM_find_occurrence ( tag_t part_occur, tag_t object_prototype ); 7 b# F. F& c. J6 W7 X& c0 F6 o* u- G
/* 得到某个part occurrence在当前work part中的part occurrence tag */5 Q: W* l# d2 i
extern int UF_ASSEM_get_occ_in_work_occ ( tag_t part_occ, tag_t * occ_in_work ); ( h2 M. T5 M+ A
/* 判断某个part或object tag是否是occurrence tag */
8 R5 v9 f6 r) n1 G- s8 yextern logical UF_ASSEM_is_occurrence ( tag_t entity ); 9 A4 |& q$ P0 c- X
/* 判断某个part是否是occurrence tag */
6 h Z6 U1 Q( d1 ~# Z3 ?extern logical UF_ASSEM_is_part_occurrence ( tag_t occurrence ); 6 q: O( Q n0 M& _* y, {5 I
/* 判断某个part occurrence是否属于当前的work part */7 }, F+ o2 R4 B# |! {& T& I
extern int UF_ASSEM_occ_is_in_work_part ( tag_t part_occ, logical * is_in_work );
8 n7 G& ^8 T' G) b2 m" y/* 循环查找某个part occurrence中的所有object occurrence tag */0 j+ l1 b" Q8 m+ R" b
extern tag_t UF_ASSEM_cycle_ents_in_part_occ ( tag_t part_occur, tag_t object_occur );
D+ a- X0 ?0 K6 r/* 循环查找某个part prototype下的所有instance tag */
" L" S, T# C" H, F7 X# \extern tag_t UF_ASSEM_cycle_inst_of_part ( tag_t parent_part, tag_t instance );
# l" {& j" R3 s3 s3 S! W/ a: l) X
) Z9 |+ L( g- e1 C& O2 F' P+ m7 ~9 K, v# j& d+ h% ?. P; I
* |) j/ ^# E: L1 U$ o. b# [8 o" J8 X4 |, j# R) h( S+ ?" ^( V$ ~; a
|
|