The instructions that follow describe how you can update library parts with schematic level part properties. This may be accomplished in Allegro Design Entry CIS (Capture) by either modifying the source libraries (libraries referenced from the ‘Design Cache’) or alternatively by creating and updating a new library.


To modify source libraries pointing to ‘Design Cache’

  1. Source the attached script in the Capture command window:
    a. Open the Capture command window from: View > Toolbar > Command Window.
    b. Type the following into the command window:

     source {<path_to_script>\schematic_prop_to_lib.tcl}

    If your script is saved at D:\TCL, for example: enter the following command:

    source {D:\TCL\schematic_prop_to_lib.tcl}

  2. Select the parts whose properties you want to transfer.

  3. Run the following command in the Capture command window.

    PushPropsToLib









    All properties of the selected part(s) that are defined at the schematic level are transferred to the source library. The properties being pushed can also be seen in the command window.

  4. You have an option to exclude specific properties from being pushed to the source library. You can modify the excluded_props variable in the schematic_prop_to_lib.tcl file. This variable is defined on line number 9 and by default, the following properties are excluded:

    set excluded_props {“Name” “Reference” “Designator” “Part Reference” “ID” “Value” “Primitive” }

 

Alternative Method

If you want to transfer schematic properties to a new library without altering the original library, follow these steps.

  1. Create a new library.

  2. Select all the parts in the design cache of the design from which you want to transfer properties to the library parts.

  3. Copy the parts and paste them into the new library.

  4. Select all the parts in the Design Cache, click your right mouse button and select Replace Cache.

  5. Browse to select the new library which now has all these parts.

All parts in the design cache now point to the new library.

Note: Tcl commands are case sensitive.

 

Here is a tcl script attachment that automates this process.