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
EAGLE User Support (English) Some Questions for schematic
  • 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 2 replies
  • Subscribers 179 subscribers
  • Views 348 views
  • Users 0 members are here
Related

Some Questions for schematic

fohnbit
fohnbit over 8 years ago

Hello,

 

I have some basic questions for schematic drawing:

  1. Can I use different colors for nets? They are always green, but want different colors.
  2. Can I set, that the name of the net will be automatic displayed? Right now I have to set manuel a label
  3. The prefix of the nets are "N$" ... can I set somewhere this? I want based on the net class each an own prefix
  4. Can I update the net name via ULP?

 

Thank you!

  • Sign in to reply
  • Cancel
Parents
  • rachaelp
    rachaelp over 8 years ago

    Hans König wrote:

     

    Can I use different colors for nets? They are always green, but want different colors.

    Colours are determined by the layer they are on so you can't have different colours unfortunately.

     

    Hans König wrote:

     

    Can I set, that the name of the net will be automatic displayed? Right now I have to set manuel a label

    Manually adding labels is the only way to do it I'm afraid.

     

    Hans König wrote:

     

    The prefix of the nets are "N$" ... can I set somewhere this? I want based on the net class each an own prefix

    Nets start N$ and busses start B$, I don't think it's possible to set a prefix based on net class.

     

    Hans König wrote:

     

    Can I update the net name via ULP?

    This one you can do! You need to build up a NAME command within the ULP which uses the form:

     

    NAME newName (x y);

     

    where x and y are the position values given for a wire segment of the net you wish to name.

     

    An example would be:

     

    string cmd="SET CONFIRM YES; ";
    
    if (schematic) {
       schematic(S) {
          S.sheets(SH) {
             SH.nets(N) {
                string tmp;
                if (N.name == argv[1]) {
                   N.segments(SEG) {
                      SEG.wires(W) {
                         sprintf(tmp, "NAME %s (%f %f);", argv[2],u2inch(W.x1),u2inch(W.y1));
                         cmd += tmp;
                      }
                   }
                }
             }
          }
       }
    }
    
    cmd += "SET CONFIRM OFF;";
    
    exit(cmd);

     

    Best Regards,


    Rachael

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • rachaelp
    rachaelp over 8 years ago

    Hans König wrote:

     

    Can I use different colors for nets? They are always green, but want different colors.

    Colours are determined by the layer they are on so you can't have different colours unfortunately.

     

    Hans König wrote:

     

    Can I set, that the name of the net will be automatic displayed? Right now I have to set manuel a label

    Manually adding labels is the only way to do it I'm afraid.

     

    Hans König wrote:

     

    The prefix of the nets are "N$" ... can I set somewhere this? I want based on the net class each an own prefix

    Nets start N$ and busses start B$, I don't think it's possible to set a prefix based on net class.

     

    Hans König wrote:

     

    Can I update the net name via ULP?

    This one you can do! You need to build up a NAME command within the ULP which uses the form:

     

    NAME newName (x y);

     

    where x and y are the position values given for a wire segment of the net you wish to name.

     

    An example would be:

     

    string cmd="SET CONFIRM YES; ";
    
    if (schematic) {
       schematic(S) {
          S.sheets(SH) {
             SH.nets(N) {
                string tmp;
                if (N.name == argv[1]) {
                   N.segments(SEG) {
                      SEG.wires(W) {
                         sprintf(tmp, "NAME %s (%f %f);", argv[2],u2inch(W.x1),u2inch(W.y1));
                         cmd += tmp;
                      }
                   }
                }
             }
          }
       }
    }
    
    cmd += "SET CONFIRM OFF;";
    
    exit(cmd);

     

    Best Regards,


    Rachael

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
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