|
ITK Function Reference
(V10000.1.0.60_20160308.00) |
#include <fclasses/tc_basic.h>#include <me/libme_exports.h>#include <me/libme_undef.h>Go to the source code of this file.
Data Structures | |
| struct | ME_mfg_search_criteria_s |
| struct | ME_occurrence_note_expression_s |
| struct | ME_saved_query_expression_s |
| struct | ME_search_expression_set_s |
Macros | |
ME related | |
| #define | ME_meprocess_class_name_c "MEProcess" |
| #define | ME_meop_class_name_c "MEOP" |
| #define | ME_meprocess_rev_class_name_c "MEProcessRevision" |
| #define | ME_meop_rev_class_name_c "MEOPRevision" |
| #define | ME_activity_class_name_c "MEActivity" |
| #define | ME_meworkarea_class_name_c "MEWorkarea" |
| #define | ME_meworkarea_rev_class_name_c "MEWorkareaRevision" |
| #define | ME_meappearancepathnode_class_name_c "MEAppearancePathNode" |
| #define | ME_meappearancepathroot_class_name_c "MEAppearancePathRoot" |
| #define | ME_placeholder_item_id_c "MEAppGroupPlaceholder" |
| #define | ME_placeholder_item_id_c "MEAppGroupPlaceholder" |
| #define | ME_appearance_group_class_name_c "AppearanceGroup" |
| #define | ME_component_relation_class_name_c "ComponentRelation" |
Type related | |
| #define | ME_mestation_type_name_c "MEStation" |
| #define | ME_mestation_rev_type_name_c "MEStationRevision" |
| #define | ME_meline_type_name_c "MELine" |
| #define | ME_meline_rev_type_name_c "MELineRevision" |
| #define | ME_meplant_type_name_c "MEPlant" |
| #define | ME_meplant_rev_type_name_c "MEPlantRevision" |
| #define | ME_medepartment_type_name_c "MEDepartment" |
| #define | ME_medepartment_rev_type_name_c "MEDepartmentRevision" |
| #define | ME_mesite_type_name_c "MESite" |
| #define | ME_mesite_rev_type_name_c "MESiteRevision" |
| #define | ME_machining_type_name_c "MENCMachining" |
| #define | ME_machining_rev_type_name_c "MENCMachining Revision" |
| #define | ME_ncprogram_type_name_c "MENCProgram" |
| #define | ME_workpiece_type_name_c "MEWorkpiece" |
| #define | Usage_compareResultView_type_name_c "UsageCompareResultView" |
| #define | ME_appgrp_app_relation_type_name_c "IMAN_MEComponent" |
| #define | ME_meproductlocation_type_name_c "MEProductLocation" |
| #define | ME_meproductlocation_rev_type_name_c "MEProductLocationRevision" |
| #define | ME_medrill_type_name_c "MEDrill" |
| #define | ME_medrill_rev_type_name_c "MEDrillRevision" |
| #define | ME_meedm_type_name_c "MEEDM" |
| #define | ME_meedm_rev_type_name_c "MEEDMRevision" |
| #define | ME_memilling_type_name_c "MEMilling" |
| #define | ME_memilling_rev_type_name_c "MEMilling Revision" |
| #define | ME_memillturn_type_name_c "MEMillTurn" |
| #define | ME_memillturn_rev_type_name_c "MEMillTurnRevision" |
| #define | ME_meturning_type_name_c "METurning" |
| #define | ME_meturning_rev_type_name_c "METurningRevision" |
| #define | ME_mewedm_type_name_c "MEWEDM" |
| #define | ME_mewedm_rev_type_name_c "MEWEDM Revision" |
| #define | ME_metrace_origin_type_name_c "Mfg0METraceOriginRel" |
| #define | ME_melogical_designator_type_name_c "Mfg0MELogicalDesignatorRel" |
base view ref window | |
| #define | ME_base_view_ref_window_name_c "viewBaseWindow" |
activity description size | |
| #define | ME_activity_desc_size_c 240 |
Flags to control action on a released Manufacturing BOM (MBOM) node while creating/updating from Engineering BOM (EBOM) | |
| #define | ME_SKIP_RELEASED_NODE 1 |
| #define | ME_REVISE_ON_RELEASE 2 |
| #define | ME_UPDATE_PROP_ON_SELF_ON_RELEASE 3 |
| #define | ME_UPDATE_PROP_ON_SELF_AND_BELOW_ON_RELEASE 4 |
Functions | |
ME Setup Functions | |
| ME_API int | ME_init_module () |
| ME_API int | MEBOM_init_module () |
ME Revisable Objects | |
| ME_API int | ME_create_process (const char *id, const char *revid, const char *type, const char *name, const char *desc, tag_t *newProc) |
| ME_API int | ME_create_processrevision (const char *id, const char *revid, tag_t *newProcRev) |
| ME_API int | ME_create_operation (const char *id, const char *revid, const char *type, const char *name, const char *desc, tag_t *newProcOp) |
| ME_API int | ME_create_operationrevision (const char *id, const char *revid, tag_t *newProcOpRev) |
| ME_API int | ME_create_workarea (const char *id, const char *revid, const char *type, const char *name, const char *desc, tag_t *newWrkarea) |
| ME_API int | ME_create_workarearevision (const char *id, const char *revid, tag_t *newWrkAreaRev) |
ME Activity Creation and Management | |
| ME_API int | ME_create_activity (const char *name, const char *type, const char *desc, double time, tag_t *newAct) |
| ME_API int | ME_create_activity_with_list (const char *name, const char *type, const char *desc, double time, int numPred, const tag_t *predList, tag_t *newAct) |
| ME_API int | ME_activity_add_predecessor (tag_t succ, tag_t pred) |
| ME_API int | ME_activity_remove_predecessor (tag_t succ, tag_t pred) |
| ME_API int | ME_activity_list_predecessors (tag_t succ, int *nPred, tag_t **pred) |
| ME_API int | ME_activity_list_activities (tag_t acttag, int *nAct, tag_t **listtags) |
| ME_API int | ME_activity_add_tool (tag_t acttag, const char *toolName) |
| ME_API int | ME_activity_add_reference_tool (tag_t acttag, const char *toolName, tag_t resLineTag, tag_t opLineTag) |
| ME_API int | ME_activity_remove_tool (tag_t acttag, const char *toolName) |
| ME_API int | ME_activity_ask_toollist (tag_t acttag, int *nTool, char ***toolList) |
| ME_API int | ME_activity_list_successors (tag_t predTag, int *nSucc, tag_t **succTags) |
| ME_API int | ME_activity_list_activity_children (tag_t activityTag, int *nChild, tag_t **actChildTags) |
| ME_API int | ME_activity_list_all_children (tag_t activityTag, int *nChild, tag_t **actChildTags) |
| ME_API int | ME_activity_insert_tags (tag_t parentTag, int nChild, const tag_t *childTags) |
| ME_API int | ME_activity_ask_description (tag_t activityTag, char actDesc[ME_activity_desc_size_c+1]) |
| ME_API int | ME_activity_ask_description2 (tag_t activityTag, char **actDesc) |
| ME_API int | ME_activity_set_description (tag_t activityTag, const char new_description[ME_activity_desc_size_c+1]) |
| ME_API int | ME_activity_set_description2 (tag_t activityTag, const char *new_description) |
| ME_API int | ME_Time_Analysis_Rollup (tag_t node, int *nValues, double **timeAnalysisValues, double *tWork, double *tDuration) |
| ME_API int | ME_Calculate_Allocated_Time (tag_t node, const char *calculatedBy, double *allocated_time) |
Template Cloning | |
| ME_API int | ME_copy_recursively (tag_t WSO_to_copy, tag_t configuring_BOM_window, const char *copy_rules_key, const char *name, const char *description, tag_t *new_WSO) |
| ME_API int | ME_create_process_from_template (const char *id, const char *revid, const char *name, const char *desc, tag_t templateProc, tag_t revisionRule, tag_t bopWindow, const char *cloneRuleKey, tag_t *newProc) |
| ME_API int | ME_create_plant_from_template (const char *id, const char *revid, const char *name, const char *desc, tag_t templatePlantRev, tag_t revisionRule, tag_t workingWinTag, const char *cloneRuleKey, tag_t *newPlant) |
| ME_API int | ME_create_product_from_template (const char *id, const char *revid, const char *name, const char *desc, tag_t templateProdRev, tag_t revisionRule, tag_t workingWinTag, const char *cloneRuleKey, tag_t *newProd) |
Attachments Related | |
| ME_API int | ME_create_assembly_window (tag_t revRule, tag_t sourceBomWin, tag_t *assyWindow) |
| ME_API int | ME_create_attachment_window (tag_t revRule, tag_t sourceBomWin, tag_t *attachWindow) |
| ME_API int | ME_window_create_root_line (tag_t win, tag_t root, tag_t *root_line) |
| ME_API int | ME_window_set_effectivity (tag_t window, date_t date, int unit_no, tag_t end_item) |
| ME_API int | ME_window_show_incremental_changes (tag_t window) |
| ME_API int | ME_window_hide_incremental_changes (tag_t window) |
| ME_API int | ME_line_ask_child_lines (tag_t line, int *count, tag_t **child_lines) |
| ME_API int | ME_line_ask_descendant_lines (tag_t line, int *count, tag_t **desc_lines) |
| ME_API int | ME_window_place_object (tag_t window, tag_t key, tag_t *line) |
| ME_API int | ME_window_place_all_instances (tag_t window, tag_t key, int *count, tag_t **lines) |
| ME_API int | ME_window_place_instances_with_absoccid (tag_t assyWindow, const char *ID, int *count, tag_t **lines) |
| ME_API int | ME_window_close (tag_t window) |
| ME_API int | ME_window_configure_variants (tag_t win) |
| ME_API int | ME_window_show_variants (tag_t win) |
| ME_API int | ME_window_hide_variants (tag_t win) |
| ME_API int | ME_line_add_Activity_with_predecessor (tag_t line, tag_t object, const char *rel_type, tag_t *child) |
| ME_API int | ME_line_add (tag_t line, tag_t object, const char *rel_type, tag_t *child) |
| ME_API int | ME_line_remove (tag_t parent, tag_t child) |
| ME_API int | ME_attachment_line_delete (tag_t parent, tag_t child) |
| ME_API int | ME_attachment_line_change (tag_t line, tag_t *new_wso) |
| ME_API int | ME_line_reparent (tag_t child, tag_t new_parent) |
| ME_API int | ME_line_remove_incremental_changes (tag_t line, int n, tag_t *ices) |
| ME_API int | ME_activity_remove_res_line (tag_t acttag, tag_t resTag) |
| ME_API int | ME_window_hide_assigned_occurrences (tag_t bopWin) |
| ME_API int | ME_window_show_assigned_occurrences (tag_t bopWin) |
BOP/BOS Window Related | |
| ME_API int | ME_create_bop_window (tag_t *window) |
| ME_API int | ME_bop_window_add_ref_window (tag_t bopWindow, tag_t refWindow, char *winType) |
| ME_API int | ME_bopwindow_add_control_occtype (tag_t bopWinTag, char *occType) |
| ME_API int | ME_bopwindow_remove_control_occtype (tag_t bopWinTag, char *occType) |
| ME_API int | ME_bom_window_has_ref_bop_window (tag_t bomWindow, int *count, tag_t **refBopWindows) |
| ME_API int | ME_close_bop_window (tag_t window) |
| ME_API int | ME_create_bos_window (tag_t rev_rule, tag_t *window) |
| ME_API int | ME_set_bos_window_source (tag_t window, tag_t src_line, tag_t *top_line) |
| ME_API int | ME_close_bos_window (tag_t window) |
| ME_API int | ME_process_balancing (tag_t srcWin, tag_t *srcLines, int num_srcLines, tag_t tarWin, tag_t *tarLines, int num_tarLines, char *resultName, char *resultDesc, int options, tag_t assyCtxtLineTag, tag_t bomCtxtLineTag, tag_t *resultView) |
| ME_API int | ME_get_source_or_target_line (tag_t lineTag, tag_t winTag, logical *isTarget, tag_t *outLineTag) |
TCM XML Related - may have been replaced by PLMXML!!! | |
| ME_API int | TCMXML_export_plmxml (tag_t *selectedComps, int nComps, const char *applicationKey, const char *fileName) |
| ME_API int | TCMXML_import_plmxml (const char *filePath, const char *applicationType, tag_t icComponent, tag_t *endItem, int *viewsCount, tag_t **views, int *errorStatus) |
ME NX Object Related | |
| ME_API int | ME_create_nx_object (const char *name, const char *desc, const char *type, const char *subType, int n_int, int *intList, int n_double, double *doubleList, int n_string, char **stringList, char **intKeyList, char **doubleKeyList, char **stringKeyList, tag_t *newObjTag) |
| ME_API int | ME_nx_object_read_data (tag_t theTag, char **resource_desc, int *numIntAtts, int **intAtts, int *numDoubleAtts, double **doubleAtts, int *numStringAtts, char ***stringAttrs, char ***intKeyIds, char ***doubleKeyIds, char ***stringKeyIds) |
| ME_API int | ME_nx_object_modify_data (tag_t nxObjTag, const char *desc, int n_int, int *intList, int n_double, double *doubleList, int n_string, char **stringList, char **intKeyList, char **doubleKeyList, char **stringKeyList) |
| ME_API int | MENXOBJECT_type_create (const char *meobj_class_name, const char *meobj_type_name, const char *def_class_name, int cardinality, int numOfViewAllowableTypes, tag_t *allowableViewTypes, tag_t *meobj_type_tag) |
| ME_API int | MENXOBJECT_type_delete (tag_t meobj_type_tag) |
IPA - InProcess Assembly Tree Related | |
| ME_API int | ME_genrateIPATree (tag_t bopWindow, char *ipaName, char *occGrpType, int count_selectedProcessTypes, char **selectedProcessTypes, int count_selectedConsumptionOcc, char **selectedConsumptionOcc, char *attachmentName, logical isLogFileNeeded, int count_ToReceivers, char **ToReceivers, int count_CCReceivers, char **CCReceivers, char *MailSubject, char *MailMessage, tag_t EffectivityEndItem, tag_t EffectivityEndRev, char *EffUnitRange, char *EffDateRange, tag_t *prdctWinAPR) |
| ME_API int | ME_updateIPATree (tag_t bopWindow) |
| ME_API int | ME_localupdateIPATree (tag_t bopLine) |
| ME_API int | ME_cleanIPATree (tag_t bopWindow, tag_t *prdctWinAPR) |
| ME_API int | ME_isIPAExists (tag_t bopWindow, logical *isNeeded) |
| ME_API int | ME_generateSearchScope (tag_t *processes, int processes_size, tag_t **bomlines, int *bomlines_size) |
| ME_API int | ME_saveSearchResult (tag_t process, tag_t *search_result_list, int search_result_size, char *name, tag_t *filteredIPA, tag_t *filteredIPARoot, tag_t **rejected_list, int *rejected_list_size) |
| ME_API int | ME_getFilteredIPA (tag_t process_line, tag_t *filterIPA) |
| ME_API int | ME_deleteFilteredIPA (tag_t *process_lines, int noOfLines) |
Find Checked outs in structure | |
| ME_API int | ME_find_checked_outs_in_structure (tag_t *lines, int lines_size, int *size, tag_t **list) |
| ME_API int | ME_checkout_for_PS (tag_t TargetLine, logical coProcess, logical isRecursive, char *changeIdChar, char *commentChar) |
| ME_API int | ME_checkin_for_PS (tag_t TargetLine) |
Find Connected MFGs with part(bomline) in product structure | |
| typedef ME_API struct ME_saved_query_expression_s | ME_saved_query_expression_t |
| typedef ME_API struct ME_occurrence_note_expression_s | ME_occurrence_note_expression_t |
| typedef ME_API struct ME_search_expression_set_s | ME_search_expression_set_t |
| typedef ME_API struct ME_mfg_search_criteria_s | ME_mfg_search_criteria_t |
| ME_API int | ME_get_connected_mfgs_from_part (tag_t part, int *nMfgs, tag_t **mfgs) |
| ME_API int | ME_get_connected_mfgs_from_parts (tag_t *parts, int nPartCnt, tag_t **mfgs, int *nMfgCnt) |
| ME_API int | ME_find_node_in_context (tag_t context, tag_t node, logical byIdOnly, logical allContexts, tag_t inContextLine, tag_t **found_lines, int *found_lines_size) |
| ME_API int | ME_find_node_in_context_by_relation (tag_t context, tag_t node, logical byIdOnly, logical allContexts, tag_t inContextLine, const char *relationName, int relationDirection, int relationDepth, tag_t **found_lines, int *found_lines_size) |
| ME_API int | ME_set_bomline_prop_based_on (tag_t item_tag, tag_t revrule_tag, tag_t sc_tag, const char *closure_rule, const char *scope_id_in_context, const char *scope_id, const char *preference, logical force_update, const char *dry_run_file) |
| ME_API int | ME_execute_structure_search (int num_scope_tags, const tag_t *scope_tags, const ME_search_expression_set_t *search_expression, const ME_mfg_search_criteria_t *mfg_search_criteria, int *num_bom_lines, tag_t **bom_lines) |
| ME_API int | ME_get_occurrence_group_views (tag_t base_view_window, int *number_of_views, tag_t **og_views) |
| ME_API int | ME_get_base_view (tag_t og_view, tag_t *base_view) |
| ME_API int | ME_create_mbom_from_ebom (tag_t ebom_root, const char *rev_rule, tag_t mbom_rev_rule, int depth, int action_on_release, const char *opaque_data, const char *log_file, tag_t *mbom_root) |
| ME_API int | ME_update_mbom_from_ebom (tag_t ebom_root, const char *rev_rule, tag_t ebom_scope_object, const char *ebom_idic, tag_t mbom_root, tag_t mbom_rev_rule, int depth, int action_on_release, const char *user_data, const char *log_file, tag_t *mbom_node) |
| ME_API int | ME_paste_duplicate_structure (const int num_src_objects, const tag_t *src_objects, const tag_t target_line, const char *copy_rules_key, int *num_new_child_lines, tag_t **new_child_lines) |
ITK API for ME
Definition in file me.h.