ITK Function Reference

(V10000.1.0.60_20160308.00)
meline.h
Go to the documentation of this file.
1 /*==============================================================================
2  Copyright (c) 2003-2005 UGS Corporation
3  Unpublished - All Rights Reserved
4  ==============================================================================*/
5 
6 /* */
7 
8 #ifndef MELINE_H_INCLUDED
9 #define MELINE_H_INCLUDED
10 
11 #include <bom/bom_attr.h>
12 #include <bom/bom_errors.h>
13 #include <bom/bom_tokens.h>
14 #include <fclasses/tc_basic.h>
15 #include <me/libme_exports.h>
16 /* END OF HEADER */
17 
18 #ifdef __cplusplus
19  extern "C"{
20 #endif
21 
33 extern ME_API int BOP_line_link_to_appearance(
34  tag_t bom_line,
35  tag_t appline,
36  logical asRequired
37  );
38 
45 extern ME_API int BOP_line_remove_appearance(
46  tag_t bom_line,
47  tag_t appearance,
48  logical asRequired
49  );
50 
51 extern ME_API int BOP_line_ask_appearance(
52  tag_t bomline,
53  int* count,
54  tag_t* appearance
55  );
56 
60 extern ME_API int BOP_line_ask_linked_appearances(
61  tag_t bom_line,
62  logical requiredOnly,
63  int* count,
64  tag_t** appearances
65  );
66 
70 extern ME_API int BOP_line_ask_appearance_links(
71  tag_t bom_line,
72  char* relation_type,
73  int* count,
74  tag_t** appearances
75  );
76 
80 extern ME_API int BOP_line_add(
81  tag_t bom_line,
82  tag_t item_folder,
83  tag_t item_revision_folder,
86  tag_t bv,
88  tag_t* new_line
89  );
90 
94 extern ME_API int BOP_line_add_with_occ_type(
95  tag_t bom_line,
96  tag_t item_folder,
97  tag_t item_revision_folder,
100  tag_t bv,
102  char* occType,
103  tag_t* new_line
104  );
105 
111 extern ME_API int BOP_line_add_substitute(
112  tag_t bom_line,
113  tag_t item,
114  tag_t item_revision,
115  tag_t bom_view,
116  tag_t* new_line
117  );
121 extern ME_API int BOP_line_add_alternate(
122  tag_t bom_line,
123  tag_t item,
124  tag_t item_revision,
125  tag_t bom_view,
126  tag_t* new_line
127  );
128 
132 extern ME_API int BOP_line_add_app_group(
133  tag_t parent,
134  tag_t app_group,
135  logical as_substitute,
136  tag_t* new_bom_line
137  );
138 
142 extern ME_API int BOP_line_add_app_group_with_occ_type(
143  tag_t parent,
144  tag_t app_group,
145  logical as_substitute,
146  char* occType,
147  tag_t* new_bom_line
148  );
149 
153 extern ME_API int BOP_line_create_assembly_tree(
154  tag_t bopline,
155  logical onOperation,
156  logical updateOnly,
158  tag_t* viewTag
162  );
163 
167 extern ME_API int BOP_line_update_workpiece(
168  tag_t bopline,
169  logical selfOnly
171  );
172 
176 extern ME_API int BOP_line_change_sequence_number(
177  tag_t bopline,
178  int startNum,
179  int incrNum
180  );
181 
185 extern ME_API int BOP_window_show_occ_type_filter(
186  tag_t bopWindow
187  );
188 
192 extern ME_API int BOP_window_hide_occ_type_filter(
193  tag_t bopWindow
194  );
195 
196 extern ME_API int BOP_window_set_occ_type_filter(
197  tag_t window_tag,
198  int count,
199  char** typeList
200  );
201 
202 extern ME_API int BOP_window_get_occ_type_filter(
203  tag_t window_tag,
204  int* count,
205  char*** typeList
206  );
207 
208 extern ME_API int APPGRP_line_add(
209  tag_t appGrpLine_tag,
210  tag_t child_tag
211 );
212 
222 extern ME_API int ME_should_create_ice(
223  tag_t line,
224  logical* track
225  );
226 
227 extern ME_API int BOPLine_set_occ_group_base_mode(tag_t bopline_tag,
228  logical viewModeInBase);
232 #ifdef __cplusplus
233 }
234 #endif
235 
236 #include <me/libme_undef.h>
237 
238 #endif