element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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 Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • 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) Change default shape of a via
  • 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 7 replies
  • Subscribers 175 subscribers
  • Views 954 views
  • Users 0 members are here
Related

Change default shape of a via

dukepro
dukepro over 13 years ago

How would one change the default shape of a via?

 

The user manual describes some properties in .eaglerc, but I have not

found one related to the default via shape.

 

Thanks,

    - Chuck

 

  • Sign in to reply
  • Cancel
Parents
  • Former Member
    Former Member over 13 years ago

    On 4/24/2012 11:13 AM, Chuck Huber wrote:

    How would one change the default shape of a via?

     

    The user manual describes some properties in .eaglerc, but I have not

    found one related to the default via shape.

     

    Thanks,

         - Chuck

     

    Hi Chuck,

     

    Use the eagle.scr file found under the scripts tree in the control

    panel. Go ahead and open it and on the next line after BRD: type in the

    following.

     

    CHANGE SHAPE ROUND;

     

    Instead of round you can put SQUARE, OCTAGON, etc.

     

    Save the eagle.scr file. This script file is special because it runs

    every time a new editor is opened, so it's good for setting up defaults

    like this. By putting it after the BRD: heading it will only affect the

    board.

     

    hth,

    Jorge Garcia

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • dukepro
    dukepro over 13 years ago in reply to Former Member

    On 04/24/2012 01:27 PM, Jorge Garcia wrote:

    On 4/24/2012 11:13 AM, Chuck Huber wrote:

    >> How would one change the default shape of a via?

    >>

     

    Hi Chuck,

     

    Use the eagle.scr file found under the scripts tree in the control

    panel.

     

    ...

     

    This script file is special because it runs

    every time a new editor is opened, so it's good for setting up defaults

    like this.

     

    Good morning, Jorge,

     

    Thanks for the tip.  It worked exactly as described.

     

    Do you know of a user-specific file that could be edited in a similar

    manner, perhaps a file that doesn't get overwritten on each update/upgrade?

     

    Thanks,

        - Chuck

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 13 years ago in reply to dukepro

    On 4/25/2012 8:28 AM, Chuck Huber wrote:

    On 04/24/2012 01:27 PM, Jorge Garcia wrote:

    >> On 4/24/2012 11:13 AM, Chuck Huber wrote:

    >>> How would one change the default shape of a via?

    >>>

    >>

    >> Hi Chuck,

    >>

    >> Use the eagle.scr file found under the scripts tree in the control

    >> panel.

     

    ...

     

    >> This script file is special because it runs

    >> every time a new editor is opened, so it's good for setting up defaults

    >> like this.

     

    Good morning, Jorge,

     

    Thanks for the tip.  It worked exactly as described.

     

    Do you know of a user-specific file that could be edited in a similar

    manner, perhaps a file that doesn't get overwritten on each update/upgrade?

     

    Thanks,

         - Chuck

    Hi Chuck,

     

    I hope you are doing well. Unfortunately no, the eagle.scr file is

    unique. What some users do is keep a backup of it and then when they

    install a new version they just swap it out.

     

    hth,

    Jorge Garcia

     

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

    Am 25.04.2012 18:56, schrieb Jorge Garcia:

    On 4/25/2012 8:28 AM, Chuck Huber wrote:

    >> On 04/24/2012 01:27 PM, Jorge Garcia wrote:

    >>> On 4/24/2012 11:13 AM, Chuck Huber wrote:

    >>>> How would one change the default shape of a via?

    >>>>

    >>>

    >>> Hi Chuck,

    >>>

    >>> Use the eagle.scr file found under the scripts tree in the control

    >>> panel.

    >>

    >> ...

    >>

    >>> This script file is special because it runs

    >>> every time a new editor is opened, so it's good for setting up defaults

    >>> like this.

    >>

    >> Good morning, Jorge,

    >>

    >> Thanks for the tip. It worked exactly as described.

    >>

    >> Do you know of a user-specific file that could be edited in a similar

    >> manner, perhaps a file that doesn't get overwritten on each

    >> update/upgrade?

    >>

    >> Thanks,

    >> - Chuck

    Hi Chuck,

     

    I hope you are doing well. Unfortunately no, the eagle.scr file is

    unique. What some users do is keep a backup of it and then when they

    install a new version they just swap it out.

     

    hth,

    Jorge Garcia

     

    Yep, what else image

     

    --

    Mit freundlichen Grüßen / With best regards

     

    Joern Paschedag

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 13 years ago in reply to dukepro

    Chuck Huber wrote:

     

     

    Do you know of a user-specific file that could be edited in a similar

    manner, perhaps a file that doesn't get overwritten on each

    update/upgrade?

     

    Thanks,

        - Chuck

     

     

    You can place your preferences into a script and give it a unique name.

    Locate it in a personal path for scripts.

    Then in eagle.scr add the line to call your script.

     

    In this way should the next versin of eagle overwrite eagle.scr all you have

    to do is add one line to the new eagle.scr to call your script

     

    Remember eagle.scr is not run in all cases when opening a design file. Some

    people add a custom menu item in the text command menu so that with one

    click you can run  that script and get back your default settings

     

    HTH

    Warren

     

    --

    Viewed / responded via the newsgroup at

    news.cadsoft.de

     

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • dukepro
    dukepro over 13 years ago in reply to Former Member

    On 04/26/2012 02:25 AM, Warren Brayshaw wrote:

    Chuck Huber wrote:

     

    >>

    >> Do you know of a user-specific file that could be edited in a similar

    >> manner, perhaps a file that doesn't get overwritten on each

    >> update/upgrade?

    >>

    >> Thanks,

    >>     - Chuck

     

    You can place your preferences into a script and give it a unique name.

    Locate it in a personal path for scripts.

    Then in eagle.scr add the line to call your script.

     

    That it!  I didn't realize that calls to scripts can be nested.  I'll

    have to give it a shot.

     

    To date, the most I've used scripts for is to define pad layouts.  I've

    been known to write a quick C program or shell script that generates the

    exact pad layout and outline for a particular device.  One of the more

    interesting applications is the layout for Samtec's CLM and MW series of

    board-to-board connectors.  The female side is designed for bottom entry

    such that the header pins come through the circuit board and into the

    connector.  So not only were there the usual pads and component outline

    to generate, but there were also non-plated holes in the board.

     

    Some

    people add a custom menu item in the text command menu so that with one

    click you can run  that script and get back your default settings

     

    I haven't messed around with custom menus.  I perused a few of the

    sample scripts that deal with this and it looks interesting.

     

    Thanks for the help.

        - Chuck

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • dukepro
    dukepro over 13 years ago in reply to Former Member

    On 04/26/2012 02:25 AM, Warren Brayshaw wrote:

    Chuck Huber wrote:

     

    >>

    >> Do you know of a user-specific file that could be edited in a similar

    >> manner, perhaps a file that doesn't get overwritten on each

    >> update/upgrade?

    >>

    >> Thanks,

    >>     - Chuck

     

    You can place your preferences into a script and give it a unique name.

    Locate it in a personal path for scripts.

    Then in eagle.scr add the line to call your script.

     

    That it!  I didn't realize that calls to scripts can be nested.  I'll

    have to give it a shot.

     

    To date, the most I've used scripts for is to define pad layouts.  I've

    been known to write a quick C program or shell script that generates the

    exact pad layout and outline for a particular device.  One of the more

    interesting applications is the layout for Samtec's CLM and MW series of

    board-to-board connectors.  The female side is designed for bottom entry

    such that the header pins come through the circuit board and into the

    connector.  So not only were there the usual pads and component outline

    to generate, but there were also non-plated holes in the board.

     

    Some

    people add a custom menu item in the text command menu so that with one

    click you can run  that script and get back your default settings

     

    I haven't messed around with custom menus.  I perused a few of the

    sample scripts that deal with this and it looks interesting.

     

    Thanks for the help.

        - Chuck

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • scott216
    scott216 over 10 years ago in reply to dukepro

    I added

    CHANGE SHAPE ROUND;

    to the BRD section of my eagle.scr file, but it didn't set the default via to round.  Is there a way to verify if the eagle.scr file is used when I open eagle?  I've got the Eagle Scripts directory setup like this (I'm on a mac):

    $EAGLEDIR/scr:/Users/Scott/Documents/Eagle/scr

     

    The path + filename is:

    /Users/Scott/Documents/Eagle/scr/eagle.scr


    I'm on Eagle ver 7.3.0

    • 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 © 2025 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