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
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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
  • More
Autodesk EAGLE
EAGLE User Support (English) Has anyone written a ULP for assisting in pad renaming?
  • 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
  • State Not Answered
  • Replies 3 replies
  • Subscribers 178 subscribers
  • Views 510 views
  • Users 0 members are here
  • rename
  • pad
  • ulp
Related

Has anyone written a ULP for assisting in pad renaming?

Eriond
Eriond over 12 years ago

I'm currently making a DDR3 package, and quickly realized that it's no fun manually renaming all 204 pads.

What I'm looking for is a ULP that could assist me in this tedious task.

Ideally, I'd like it to have a simple dialog asking just two things: Seed and Increment. Both being integer values, with the option to enter a negative increment.

After entering both values, I would start cklicking/selecting the pads, one at a time. For each successful selection, the pad would be renamed and the next incremented value would be shown somewhere (maybe in the status field at the bottom?) This would continue until I manually abort the ULP in some way.

 

Has such a tool already been conceived, or is it maybe part of some more extensive toolset?

If not, I would be eternally grateful if someone with skills in ULP could take the time to write this tool. I myself have browsed through the ULP manual, but couldn't quite understand how mouse input could be captured by the ULP...

 

Kind regards

  • Sign in to reply
  • Cancel
  • shabaz
    0 shabaz over 12 years ago

    Hi Eriond,

     

    I don't know ULP, but as a suggestion, you could write a program/script to just generate EAGLE commands that create the pads with the correct name, all in one.

    For example, a script containing this line:

    smd 0.5 1.5 '1' (4.0 5.0)

    would create an SMD pad of dimensions 0.5x1.5 at location (4 5) with the name '1'.

     

    Normally for any package of greater than (say) 16 pins, it may be easier to write a program that generates a script for you, rather than load and edit a package manually with mouse-clicks.

     

    Probably there is a script command to rename pads, but the above works well for me so I've not searched for an alternative.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • autodeskguest
    0 autodeskguest over 12 years ago in reply to shabaz

    On 12/11/13 22:24, shabaz wrote:

    Hi Eriond,

     

    I don't know ULP, but as a suggestion, you could write a program/script

    to just generate EAGLE commands that create the pads with the correct

    name, all in one.

     

    I second this suggestion. When generating packages, or indeed whole

    libraries in the case of connector families, my normal approach is to

    hack some Python to write a SCR file to make the library parts.

     

    Other scripting languages are also available image

     

    Cheers,

    Rob

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • autodeskguest
    0 autodeskguest over 12 years ago

    On 13/11/2013 10:28 a.m., Eriond wrote:

    I'm currently making a DDR3 package, and quickly realized that it's no

    fun manually renaming all 204 pads.

    What I'm looking for is a ULP that could assist me in this tedious task.

     

     

    What you likely need to have done is create the first SMD with a command

    like SMD 50 50 -100 '1' (See help SMD)

     

    That makes a  pad named 1 and then subsequent SMD are named sequentially

    2,3,4 etc instead of the default P$1 P$2 etc.

     

    Rather than create a ULP it would be faster to rename the pads. Dont use

    the information "i" icon but rather the 'Name' icon which is much faster.

     

    HTH

    Warren

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • 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.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube