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
    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
  • More
Autodesk EAGLE
EAGLE User Support (English) Using SHOW command in a script
  • 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 3 replies
  • Subscribers 189 subscribers
  • Views 646 views
  • Users 0 members are here
Related

Using SHOW command in a script

e14 Contributor
e14 Contributor over 13 years ago

I'm using Eagle 6.3 (this problem occurred in 6.2 also).  I'm trying to

find a way to display all components of the same value.  I found a script

"ShowVals.ulp" which is supposed to do this, but it doesn't work.  I later

found "find.ulp" which comes with Eagle, but that doesn't work either.

 

In both cases, the script(s) run, but the components are not highlighted.

In trying to debug the problem I noticed that I cannot even get a simple

"SHOW" command to work inside a script.

 

For example: having a file called test.scr and putting the line

Show U1

 

Does nothing.  If I type the exact same command into the command line, it

works as expected.  If I put "info U1", into the script, it runs the info

command as expected, so I know the script file and interface are working.

 

Trying "RUN find U1 -S" does nothing.

 

Is there any way to successfully use the "SHOW" command within a script?

--

Web access to CadSoft support forums at www.eaglecentral.ca.  Where the CadSoft EAGLE community meets.

 

  • Sign in to reply
  • Cancel
  • AnalogNotes
    AnalogNotes over 13 years ago in reply to AnalogNotes

    Hmm, apparently, I can't edit my own post for some reason.

     

    What I mean to say is, "stick to using the "info" command."

     

    Regards,

    Doug

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • AnalogNotes
    AnalogNotes over 13 years ago

    I got curious about this myself, so I tested it out a bit.  My guess is that while the script runs, the part is actually being highlighted, but when the script terminates, the highlighting is turned off.  Type "show r1" (or some other appropriate part number) and the part is highlighted.  However, if you type "show r1;" with the semicolon to terminate, it looks like the part is not highlighted...

     

    For further testing, I created showr1.scr with the contents:

     

    show r1

     

    I have a multiple-sheet schematic.  If I type the command "script showr1" from the sheet where the part is located, it appears to do nothing.  If I run it from a different sheet, a dialog box pops up, listing the part and the sheet.  If I click the part listing, the correct sheet is shown with the part highlighted.  When I close the dialog box, the part stops being highlighted...

     

    Since this is in the suggestion forum, my suggestion to Cadsoft would be to leave highlighting on until the next command is given, even after a script terminates.  (That may not be as simple to accomplish as it sounds though, depending upon how the EAGLE program is written...)  It would be nice to have a "highlight on" and "highlight off" kind of command, especially if it worked with the group command...

     

    My suggestion to you, Paul, is instead of using the "show" command, try using the "info" command.  In my testing, that will hightlight the part and pop up a dialog box.  The part will stay highlighted until you close the dialog.  The problem is that if you have a multi-sheet schematic and the part you're looking for isn't on the current sheet, you get an error.  If you do have a multi-sheet schematic, the solution is to figure out what sheet the part is on and put the "edit .sX;" (replace "X" with the sheet number) command in the script before the info command...

     

    Regards,

    Doug

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

    I'm so very sorry, wrong forum.  I was sure I clicked on "support.eng", but

    accidentally clicked "suggest.eng"

    --

    Web access to CadSoft support forums at www.eaglecentral.ca.  Where the CadSoft EAGLE community meets.

     

    • 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