2.6. Define Attributes for the Serialized Items

About this task

You can define the attributes that the serialized items may have in the prt_attributes.cfg file.

Note: It is possible to add attributes dynamically.  However, adding attributes to prt_attributes.cfg avoids the trouble of continuously having to add the attribute for each item that is created. You can also write a BCE script that handles this, but when you edit prt_attributes.cfg the attributes are always there.

Procedure

  1. Click Tools>Command Prompt on the Workbench menu bar.

    The Command window opens in the CIMPTRACK directory..

  2. Type cd master to change to the CIMPTRACK master directory.
  3. Press Enter.
  4. Type notepad prt_attributes.cfg.

    The prt_attributes.cfg file opens.

    Important: As you enter items.
    • Separate items by the pipe symbol |.
    • Assign attributes only for the serialized items.

    In CIMPTRACK the two serialized items are:

  5. Carriers
  6. Blocks
  7. Enter the following attributes.

    Following is a list of the attributes.

    CPU SER # BASE PLATFORM DRIVE HOUSING SUB_ASSEMBLY A SUB_ASSEMBLY B ASSEMBLY HOUSING POWER SUPPLY PROD START TIME AUTOCELL MACHINE AUTOCELL TEMP AUTOCELL PRESS AUTOCELL TIME DVD MANUALS WARRANTY PACK TIME
    Note:  When you enter the attributes into the prt_attributes.cfg file, begin the list with ITEMCLASS|BLOCK so the attributes will be assigned to the blocks only; not to the carriers.

    Following is the list in the entry format.

    ITEMCLASS|BLOCK

    CPU SER #|BASE PLATFORM|DRIVE HOUSING|SUB_ASSEMBLY A|SUB_ASSEMBLY B|ASSEMBLY HOUSING|POWER SUPPLY|PROD START TIME|AUTOCELL MACHINE|AUTOCELL TEMP|AUTOCELL PRESS|AUTOCELL TIME|DVD|MANUALS|WARRANTY|PACK TIME

  8. Save prt_attributes.cfg.
  9. Close Notepad.
  10. Exit the Command Prompt window.

Results

The attributes are now in the CIMPTRACK project. You do not have to do anything else to this file for CIMPLICITY to use it.