Manufacturing utilities
me_fix_idic
This utility stamps ID in context (IDIC) strings in two ways: From a stable manufacturing bill of materials (MBOM) structure to an engineering bill of materials (EBOM) structure in which the IDIC strings are somehow deleted. In this case, the MBOM and EBOM must be linked in the same collaboration context (CC) object. The utility finds matching lines in the MBOM and stamps them to the EBOM by finding an identical itemid and a configurable set of properties such as bl_plmxml_abs_xform (transform) in the two structures. The me_fix_idic utility does not stamp IDIC values to the EBOM if more than one EBOM line matches the equivalence criteria. From product or plant structures to process structures for assigned lines copied before you set the MECopyIdInContextToAssignedLine preference using the -createassignids option. Note When you use the -createassignids option, other options specific to MBOM-EBOM stamping are not valid (see Arguments below for details). Syntax me_fix_idic -u=user-ID {-p=password | -pf=password-file} [-g=group -ccname=collaboration-context-name | -ccuid=collaboration-context-time-stamp-value -mbomscname=manufacturing-bill-of-materials-top-line-value | -mbomscuid=MBOM-structure-context-unique-identifier -ebomscname=engineering-bill-of-materials-top-line-value | -ebomscuid=EBOM-structure-context-unique-identifier -properties=properties-text-file-name -dryrunfile=dry-run-text-file-name -log=log-text-file-name -scopeid=itemid-for-scope-of-MBOM-if-top-line-is-not-to-be-stamped | -scopeidincontext=IDIC-for-scope-of-MBOM-if-top-line-is-not-to-be-stamped -ebomscopeiditemid-for-scope-of-EBOM-if-top-line-is-not-to-be-stamped | -ebomscopeidincontext=IDIC-for-scope-of-EBOM-if-top-line-is-not-to-be-stamped -closurerule=custom-closure-rule-to-traverse-MBOM-structure -createassignids=stamp-IDIC-for-assigned-lines-from-product-or-plant-structures-to- process-structure -productSCType=product-structure-context-to-use | -plantSCType=plant-structure- context-to-use -force_idic_gen=force-IDIC-generation-to-EBOM-or-consumed-lines-in-process-structures -debug=flag-for-additional-log-information -h] Arguments -u Specifies the user ID. The user must have administrative privileges. -ccname Specifies the name of the collaboration context to use in the utility. -p Specifies the user's password. This argument is mutually exclusive with the -pf argument. -pf Specifies the password file. For more information about managing password files, see Manage password files. This argument is mutually exclusive with the -p argument. -ccname Specifies the name of the collaboration context object to use in the utility. -ccuid Specifies the uid (unique identifier) value of the collaboration context object that you display in Teamcenter by using the Print Object command. -mbomscname Specifies the structure context name of the MBOM object to use in the utility. If the name is not unique, use the mbomscuid. This argument is not valid if you use createassignids to stamp IDIC strings from product or plant structures to process structures for assigned lines. -mbomscuid Specifies the structure context unique identifier to use if the structure context name is not unique. Find the identifier by selecting the structure context object in the MBOM and using the Print Object command. This argument is not valid if you use createassignids to stamp IDIC strings from product or plant structures to process structures for assigned lines. -ebomscname Specifies the name of the EBOM structure context object to use in the utility. If the name is not unique, use the ebomscuid. This argument is not valid if you use createassignids to stamp IDIC strings from product or plant structures to process structures for assigned lines. -ebomscuid Specifies the structure context unique identifier to use if the structure context name is not unique. Find the identifier by selecting the structure context object in the EBOM and using the Print Object command. This argument is not valid if you use createassignids to stamp IDIC strings from product or plant structures to process structures for assigned lines. -properties Specifies a text file defining a BOM line property per line, such as bl_plmxml_abs_xform or bl_sequence_no, which the utility uses to search for a matching property between MBOM and EBOM structures. The text file name can be any name, but must sequentially list each BOM line property name, one per line. This argument is not valid if you use createassignids to stamp IDIC strings from product or plant structures to process structures for assigned lines. -dryrunfile (Optional) If dryrunfile=dry.txt, reports which lines are to be stamped to ensure that the stamped values are valid without actually stamping the target. The dry.txt file is created under tc_menu folder with details on which lines get stamped. -log Creates a log file in the log file location. -scopeid (Optional, necessary only if you use scope flow to stamp below the MBOM top line) Specifies the itemid of a lower line in the MBOM. This argument is not valid if you use createassignids to stamp IDIC strings from product or plant structures to process structures for assigned lines. -scopeidincontext (Optional) If scopeid is not sufficient, specifies an IDIC value in the MBOM to determine the scope for traversal in the MBOM. This argument is not valid if you use createassignids to stamp IDIC strings from product or plant structures to process structures for assigned lines. -ebomscopeid (Optional, necessary only if you are using scope flow to stamp below the EBOM top line) Specifies the itemid of a lower line in the EBOM). This argument is not valid if you use createassignids to stamp IDIC strings from product or plant structures to process structures for assigned lines. -ebomscopeidincontext (Optional) If ebomscopeid is not sufficient, specifies an IDIC value in the EBOM to determine the scope for traversal in the EBOM. This argument is not valid if you use createassignids to stamp IDIC strings from product or plant structures to process structures for assigned lines. -closurerule (Optional) Specifies a closure rule to be used to traverse the MBOM structure below the scope line. If not specified, the closure rule MEPrivateTraverseLinesWithIDIC is created and used. This argument is not valid if you use createassignids to stamp IDIC strings from product or plant structures to process structures for assigned lines. -createassignids Specifies that the utility will stamp IDICs for assigned lines from product or plant structures to process structures. -productSCType Specifies the product structure context to be used with the -createassignids argument. If not specified, -createassignids defaults to MEProductContext. -plantSCType Specifies the plant structure context to be used with the -createassignids argument. If not specified, -createassignids defaults to MEPlantContext. -force_idic_gen Forces generation of IDICs on the EBOM if you are using the utility to stamp MBOM to EBOM, or on consumed lines if you are using the utility to stamp from product or plant structures to process structures. Warning Since this option forces IDIC stamping even if values are already present, use it with caution. -debug (Optional) Turns on debug mode and creates additional debug information files in the log file location. Values are 1, 2, or 3, with higher values resulting in increasingly verbose logging. Example To stamp IDICs from MBOM to EBOM: Copy me_fix_idic -u=Tc_admin -p=password -ccname=TestCC -mbomscname=mbomTop1 -ebomscname=ebomTop1 -properties=prop.txt -log=log.txt -dryrunfile=dry.txt To stamp IDICs from product or plant structures to process structures: Copy me_fix_idic -u=Tc_admin -p=password -ccname=TestCC -createassignids -plantSCType=plantTop1 -log=log.txt -dryrunfile=dry.txt Note You do not need to explicitly specify the process structure. This is derived from the ccuid or ccname.
Source: https://docs.sw.siemens.com/documentation/external/PL20251212545240207/en-US/tc_help/utilities_reference/gvl1737253698140/xid1411252.html · retrieved Fri Jul 31 2026 00:00:00 GMT+0000 (Coordinated Universal Time)