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
      •  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
Forum Display netname on silkscreen
  • 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 1 reply
  • Subscribers 176 subscribers
  • Views 655 views
  • Users 0 members are here
Related

Display netname on silkscreen

steve@teradiode.com
steve@teradiode.com over 9 years ago

Is it possible to have the schematic’s netname show up on the board layout’s silkscreen ?

I am displaying netnames on the schematic using a Label so that I can see what a connector’s pin’s function is for example (“sensor 1, sensor2, etc” for example).

I would also like to have those netnames show up (automatically ?) on the board’s layout’s silkscreen so I know visually on the board what each pin’s function is for identification.

 

I know I could use text to place the netname as text onto the silkscreen but I have many such labels and if there were an automatic way to have them appear it would save a lot of typing…

  • Sign in to reply
  • Cancel
  • rachaelp
    0 rachaelp over 9 years ago

    You could write a ULP to do this but it wouldn't be 100% automatic although it would reduce typing. Here is one called netToText.ulp I knocked up in 5 minutes to do this in a fairly basic way. You currently still need to select tNames or bNames to put the text on the silk screen layer. This will run from the right click context menu or from the command line.

     

    #usage "en: Adds a text label to the selected net\n"

               "run netToText install - to install to the boards context menu"

     

    if (argv[1] == "install") {

        exit("edit .brd; set context wire 'Add Net Label...' 'run netToText';");

    } else {

     

        string cmd="";

        string name="";

     

        if (board) {

            board(B) {

                B.signals(SIG) {

                    if (ingroup(SIG)) {

                        name = SIG.name;

                    }

                }

            }

        }

        sprintf(cmd, "TEXT %s", name);

        exit(cmd);

    }

     

    This can probably be improved, currently it only does one net if you have a group of many. I think this may be a limitation of running the TEXT command from the command line as if you terminate it with a ; you can't actually place the text so it does nothing.... You could however get it to automatically switch to a certain layer and change the font style, size etc to suit your needs.

     

    Anyway, I hope this helps.

     

    Best Regards,

     

    Rachael

     

    EDIT: I had a typo in my original script so the context menu integration appeared not to work. Now it does so the post is updated to reflect.

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