element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products & Partners
    Products & Partners
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Autodesk EAGLE
  • Products & Partners
  • More
Autodesk EAGLE
Forum Have a question about CadSoft EAGLE?  Ask our Expert, Richard! (Archive)
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Autodesk EAGLE to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 1129 replies
  • Subscribers 244 subscribers
  • Views 58017 views
  • Users 0 members are here
  • eagle
  • expert
  • richard_hammerl
  • cadsoft
Related

Have a question about CadSoft EAGLE?  Ask our Expert, Richard! (Archive)

nlarson
nlarson over 16 years ago

This thread is now locked - but you can still ask Richard by posting your questions here.  If you'd rather browse other member's questions you can read the CadSoft EAGLE Forums for past questions and answers. Enjoy!

 

Browse past Q&A help on anything technical relating to CadSoft EAGLE!


image

 

Richard Hammerl

Richard is an engineer with 16 years experience in EAGLE customer support and is waiting for your questions.

  • Sign in to reply
  • Cancel
Parents
  • e14 Contributor
    e14 Contributor over 16 years ago

    Hi,

     

        Iam facing a problem in entering Attributes to Device. The thing is that,Normally we ll be generating BOM from schematics and its giving out put containing VALUE,QNTY,PACKAGE,PART,DEVICE, But i need some more details like vendor, manufacturer, part No Etc. So i have to enter it in LIB---->DEVICE----> attributes and it feels little painfull to edit in lib. Its a one time task but a lib having somany devices and edit each and every one is so painfull task. is there any way to make it easier?? Is it possible to copy Attributes from one device to another ???. Is it possible to select a lib and enter common attributes???

     

     

    Thanks in advance<

     

    Dinu.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • e14 Contributor
    e14 Contributor over 16 years ago in reply to e14 Contributor

    Hi Dinu,

     

    I can understand your problem. Its pretty laborius to key in every attribute for each device/ part. But, EAGLE has a rich set of ULPs which makes things much easier.

    Please go the link : http://www.cadsoft.de/cgi-bin/download.pl?page=/home/cadsoft/html_public/download.htm.en&dir=eagle/userfiles/ulp and download attrib_add.ulp into your ULP directory.

    If you open the ULP in the editor window, you can see some attribute values are hard coded in the program. For example : strVal0 = "PART#"...etc. You will have to change these values according to the attributes and values you want to key in for the parts. Then save it , select the parts on the schematic you want to put attributes for and run the ulp. This ULP will populate all the parts on the schematic which are grouped/selected by the user.

     

    Any questions, please let me know.

     

    Hope this helps.

     

    Best Regards,

    Jaya B

    CadSoft App Engineer

    GTC.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Richard_H
    Richard_H over 16 years ago in reply to e14 Contributor

    Hi Dinu, hi Jaya,

     

    there is one further ULP that might help. It loops through all device sets of a library and executes a script file. In case the script file contains some ATTRIBUTE commands it would be possible to have a set of attributes for each Device in a lbr.

    See attached ULP.

     

    Regards,
    Richard

    Attachments:
    set-all-devices-attribute.ulp.zip
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • e14 Contributor
    e14 Contributor over 16 years ago in reply to Richard_H

    Hi Richard, jaya

     

     

    its really great, Now i got know how to make it working.

     

    thanks for your help and support

     

    Regards,

    dinu

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Richard_H
    Richard_H over 16 years ago in reply to e14 Contributor

    Hi Dinu,

     

    the script must contain the command(s) to create the attributes for the devices in the library. It could look like this, for example:

     

    PACKAGE N;

    TECHNOLOGY LS;

    ATTRIBUTE PartNo '12345-ABC';
    ATTRIBUTE Temp '100K' constant;
    ATTRIBUTE Remark 'mount manually'; 

    PACKAGE N;

    TECHNOLOGY ALS;

    ATTRIBUTE PartNo '345678-ABC';
    ATTRIBUTE Temp '10K' constant;
    ATTRIBUTE Remark 'mount manually'; 

    PACKAGE FK;

    TECHNOLOGY LS;

    ATTRIBUTE PartNo '12345-XYZ';
    ATTRIBUTE Temp '100K' constant;
    ATTRIBUTE Remark 'mount manually'; 

    PACKAGE FK;

    TECHNOLOGY ALS;

    ATTRIBUTE PartNo 3333333-ABC';
    ATTRIBUTE Temp '10K' constant;
    ATTRIBUTE Remark 'mount manually'; 

     

    and so on. You don't have to specify a value for the attribute. You can simply create it for each package and technology of the device and define the value later.

     

    PACKAGE N;

    TECHNOLOGY LS;

    ATTRIBUTE PartNo ;
    ATTRIBUTE Temp ;
    ATTRIBUTE Remark ; 

    PACKAGE N;

    TECHNOLOGY ALS;

    ATTRIBUTE PartNo ;
    ATTRIBUTE Temp ;
    ATTRIBUTE Remark ; 

    .....

     

    For details see also HELP ATTRIBUTE.

     

    Regards,
    Richard

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • e14 Contributor
    e14 Contributor over 16 years ago in reply to e14 Contributor

    Hi Dinu,

     

    To make this ULP work, you will have to create a script file with the list of ATTRIBUTE commands with values for the devices you would want to add attributes for. The ATTRIBUTE command syntax can be found in the help menu of EAGLE.

     

    Do let me know if you still have problems.

     

    Best Regards,

    Jaya

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • e14 Contributor
    e14 Contributor over 16 years ago in reply to Richard_H

    Hi Richard,

     

    I tried set-all-devices-attribute.ulp in library, but when ever am running the ULP its openning SCR window, and i dont know which SCR i have to Run. Or just tell me how to use that ULP

     

    Regards,

    Dinu

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • e14 Contributor
    e14 Contributor over 16 years ago in reply to e14 Contributor

    Hi Richard, Jaya

     

     

    Thanks for your help and support

     

    Regards,

    Dinu

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • e14 Contributor
    e14 Contributor over 16 years ago in reply to Richard_H

    Thanks Richard. I was not aware of this ULP.

     

    Best Regards,

    Jaya

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • e14 Contributor
    e14 Contributor over 16 years ago in reply to Richard_H

    Thanks Richard. I was not aware of this ULP.

     

    Best Regards,

    Jaya

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • e14 Contributor
    e14 Contributor over 16 years ago in reply to e14 Contributor

    Hi Richard, Jaya

     

     

    Thanks for your help and support

     

    Regards,

    Dinu

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube