Integration of attributes (old)

The Layout application allows a very flexible management of personal attributes. The allocation mechanism of TOP Layout provides an assignment while loading the footprint by reading the information from the Excel file row and a phase of subsequent assignment.

You can define which attributes are to be allocated by completing the ATTRIBS_DICT sheet of the Layout database. In this table, each line defines a new attribute to assign.

The fields defined are:

  • ID
  • Unique attribute ID
  • TYPE
  • Attribute type. L = List, V = Value. The input mode given changes
  • TABLENAME
  • Name of the Excel spreadsheet that describes the attribute (for list only))
  • ATTRIBNAME
  • Attribute name to be assigned (usually CODE)
  • KEYFIELD
  • Name of the column of the table <TABLENAME> to map to the attribute
  • PRTTARGET
  • Attribute for filter assignment. It may be:
    • N --> Filter on the part name. The default name is PRTNAME
    • F --> Free allocation. Any selected part.
    • P --> Pre-existing. Assigns the attribute only if the attribute already exists in the part.
    • T --> TOP part. The attribute is assigned on the TOP part
  • DESC_ITA
  • Attribute description to be assigned. Used in the selection dialog.
  • DESCRIPTION
  • Free attribute description.
  • BOMNAME
  • Itemized list name with which to associate the attribute/part. It is used if the attribute to set is the code.

Each attribute definition table allows you to set a number of defaults.

Each column of the table appears in the process of allocation, but only the value of the field <KEYFIELD> will be assigned to the attribute <attname>.

To constrain the assignment of attributes to those parts of interest use the PRTTARGET field.

The attributes used by TOP Layout can be pre-defined in the support database definition tables.

The example shows the MOTOR field preset to a neutral value (-) in the sheet that drives the behavior of the motorized heads. Similarly the BOX field is set to zero to indicate that the default motor does not mount the motor box.