Script functions required

  • Need the script syntax to change a part value.  The command line to issue to change a part value is: value refdes value.  And example would be to change R5's value to 100 you would issue the command:  value r5 100
  • Need to add attribute fields to all parts.  Example: Attribute r5 Fudge  adds the fudge attribute. Pops up a window prompting for value of this attribute.  ATTRIBUTE r4  fudge 'vanilla'  is the correct syntax to include the value.
  • Need to run a script on libraries to turn on all value fields.  The command line to issue is: value on  while the device is up in the librarie editor.

​  

Requirements for Ideal Bill of Materials

  • Need to turn on the value field for all parts.  This will hold the basic resistance, capacitance, inductance values or integrated circuit part number.

BOM Fields

  • Item Number: Line item number
  • Quantity
  • Schematic Value: This is the simple short value shown in the schematic. Short values avoid clutter on the schematic
  • Vendor Part Number: Attribute field:  This will hold the catalog part number.  Example Mouser part number 
  • Manufacturers Part Number:  Attribute field: Example: Hittite part number
  • Internal Part Number: Attribute field:  Example: The company part number that covers all 0.1 uF capacitors
  • Description:  Attribute field: Description with specifications:  Example: CAP CER 4.7UF 35V 10% X5R 1210
  • Reference Designators: Grouped by value.  
  • Package: Need this to ease confirmation of correct purchase: Example: 0603

The relevant object is the schematic object

SCHEMATIC
     GRID
     LAYER
     LIBRARY
     SHEET
         CIRCLE
         RECTANGLE
         FRAME
         TEXT
         WIRE
         POLYGON
             WIRE
         PART
             INSTANCE
                 ATTRIBUTE
         BUS
            SEGMENT
                 LABEL
                     TEXT
                     WIRE
                 WIRE
          NET
              SEGMENT
                  JUNCTION
                  PINREF
                  TEXT
                  WIRE

Categories: Eagle PCBElectronics

0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *