ITK Function Reference

(V10000.1.0.60_20160308.00)
Functions

Functions

ECM_API int ECM_ask_supercedures (tag_t affected_bvr_tag, int *no_of_supercedures, tag_t **supercedure_tags)
 
ECM_API int ECM_get_ec_of_supercedure (tag_t supercedure_tag, tag_t *engineering_change_tag)
 
ECM_API int ECM_get_first_supercedure (tag_t bom_line_tag, tag_t *supercedure_tag)
 
ECM_API int ECM_get_multiple_add_supercedures (tag_t bom_add_tag, int *no_of_supercedures, tag_t **supercedure_tags)
 
ECM_API int ECM_get_multiple_cancel_supercedures (tag_t bom_cancel_tag, int *no_of_supercedures, tag_t **supercedure_tags)
 
ECM_API int ECM_get_problem_bvr (tag_t bom_cancel_tag, tag_t *problem_bvr_tag)
 
ECM_API int ECM_get_pure_adds_cancels (tag_t bom_line_tag, int *num_pure_adds, tag_t **pure_adds, int *num_pure_cancels, tag_t **pure_cancels)
 
ECM_API int ECM_get_pure_adds_cancels_for_whereused (tag_t bom_line_tag, tag_t whereused_bvr_tag, int *num_pure_adds, tag_t **pure_adds, int *num_pure_cancels, tag_t **pure_cancels)
 
ECM_API int ECM_get_supercedure_for_whereused (tag_t bom_line_tag, tag_t whereused_bvr_tag, tag_t *supercedure_tag)
 
ECM_API int ECM_set_top_line (tag_t top_line_tag)
 

Detailed Description

Function Documentation

ECM_API int ECM_ask_supercedures ( tag_t  affected_bvr_tag,
int *  no_of_supercedures,
tag_t **  supercedure_tags 
)
Parameters
affected_bvr_tag(I)
no_of_supercedures(O)
supercedure_tags(OF) no_of_supercedures
ECM_API int ECM_get_ec_of_supercedure ( tag_t  supercedure_tag,
tag_t engineering_change_tag 
)

This function returns the tag of the engineering change associated with the supercedure. The supercedure tag is passed as an input argument.

Parameters
supercedure_tag(I) Tag of the supercedure tag.
engineering_change_tag(O) Tag of the engineering change associated with the supercedure.
ECM_API int ECM_get_first_supercedure ( tag_t  bom_line_tag,
tag_t supercedure_tag 
)

This function returns the tag of the first supercedure associated with the component whose BOM line tag is passed as an input argument.

Parameters
bom_line_tag(I) Tag of the BOM line.
supercedure_tag(O) Tag of the supercedure.
ECM_API int ECM_get_multiple_add_supercedures ( tag_t  bom_add_tag,
int *  no_of_supercedures,
tag_t **  supercedure_tags 
)

This function returns an array of tags of the supercedures and the number of supercedures associated with the add BOM change. The tag of the add BOM change is passed as an input argument.

Parameters
bom_add_tag(I) Tag of the add BOM change.
no_of_supercedures(O) Number of supercedures associated with the Add BOM change.
supercedure_tags(OF) no_of_supercedures Array of tags of the supercedures.
ECM_API int ECM_get_multiple_cancel_supercedures ( tag_t  bom_cancel_tag,
int *  no_of_supercedures,
tag_t **  supercedure_tags 
)

This function returns an array of tags of the supercedures and the number of supercedures associated with the cancel BOM change. The tag of the cancel BOM change is passed as an input argument.

Parameters
bom_cancel_tag(I) Tag of the cancel BOM change.
no_of_supercedures(O) Number of supercedure associated with the cancel BOM change
supercedure_tags(OF) no_of_supercedures Array of tags of the supercedures.
ECM_API int ECM_get_problem_bvr ( tag_t  bom_cancel_tag,
tag_t problem_bvr_tag 
)

This function returns the tag problem BVR of an engineering change. The tag of the cancel BOM change created using this engineering change is passed as an input argument.

Parameters
bom_cancel_tag(I) Tag of the cancel BOM change tag.
problem_bvr_tag(O) Tag of the problem BVR.
ECM_API int ECM_get_pure_adds_cancels ( tag_t  bom_line_tag,
int *  num_pure_adds,
tag_t **  pure_adds,
int *  num_pure_cancels,
tag_t **  pure_cancels 
)

This method will return the complete list of pure BOM Add and pure BOM Cancel objects associated with a component in the assembly. The pure BOM Adds and BOM Cancels of the component will be retrieved based on the parent assembly. The BOM line tag of the component is passed as input argument.

Parameters
bom_line_tag(I) Tag of BOM line
num_pure_adds(O) Number of pure Add BOMChanges associated with the BOM Line
pure_adds(OF) num_pure_adds Array of tags of pure BOM Adds
num_pure_cancels(O) Number of pure BOM Adds associated with the BOM Line
pure_cancels(OF) num_pure_cancels Array of tags of pure BOM Cancels
ECM_API int ECM_get_pure_adds_cancels_for_whereused ( tag_t  bom_line_tag,
tag_t  whereused_bvr_tag,
int *  num_pure_adds,
tag_t **  pure_adds,
int *  num_pure_cancels,
tag_t **  pure_cancels 
)

This method will get the list of pure BOM Adds and pure BOM Cancels associated with a component based on where it�s used in another assembly. The BOM line tag of the component and the BVR that contains the component as an occurrence in the other assembly are passed as input arguments.

Parameters
bom_line_tag(I) Tag of BOM line
whereused_bvr_tag(I) Tag of the BVR that contains the component as an occurrence in the other assembly
num_pure_adds(O) Number of pure Add BOMChanges associated with the BOM Line
pure_adds(OF) num_pure_adds Array of tags of pure BOM Adds
num_pure_cancels(O) Number of pure BOM Adds associated with the BOM Line
pure_cancels(OF) num_pure_cancels Array of tags of pure BOM Cancels
ECM_API int ECM_get_supercedure_for_whereused ( tag_t  bom_line_tag,
tag_t  whereused_bvr_tag,
tag_t supercedure_tag 
)

This function returns the tag of the first supercedure associated with a component based on where its used in another assembly. The BOM line tag of the component and the BVR that contains the component as an occurrence in the other assembly are passed as input arguments.

Parameters
bom_line_tag(I) Tag of the BOM line.
whereused_bvr_tag(I) Tag of the BVR that contains the component as an occurrence in the other assembly.
supercedure_tag(O) Tag of the supercedure.
ECM_API int ECM_set_top_line ( tag_t  top_line_tag)
Parameters
top_line_tag(I)