Part/EBOM creation using tcl script

Part/EBOM creation using tcl script

Description:

User may require to create large assembly with connected object for testing purpose. This tcl script will help to achieve this

 

How to run:

  1. Save the file into c:/temp

  2. Read the comments in the script and modify as required. The example creates 3 parts. So test the script first and then run for larger structure.

  3. open mql and run following commands:

    • set context user creator;

    • run c:/temp/EbomCreate.tcl;

Runningscript.PNG

 

What to modify in the script:

  1. Modify the Root Object Type, Name, Revision. Root object must exists in database

  2. Modify the number of Child Parts required.

image-20240321-072350.png

Here you will get 2 new child parts getting created for {set i 7} {$i < 9} {incr i} {. You can modify the value to create larger assembly.

Data.PNG

 

TECHNIA CONFIDENTIAL