EAGLE Central Forums
Where the EAGLE community meets. Sponsored by Stratford Digital.

Home » CadSoft Support Forums » eagle.support.eng » Revert net name back to default
Revert net name back to default [message #169415] Thu, 16 February 2017 08:02 Go to next message
Marco Trapanese
Messages: 297
Registered: May 2007
Senior Member
Hi,
I'm using EAGLE v6.6 on Windows 7 64-bit.

Is there a way to tell EAGLE to generate again a random name for a net
previously named?

I mean:

1. say you have a net called N$4
2. using the NAME command you change it to FOO
3. now I want to revert back to a default name, like N$*

I looked in the docs about NET command and NAME pages without find an
answer.

Marco
Re: Revert net name back to default [message #169419 is a reply to message #169415] Thu, 16 February 2017 18:53 Go to previous messageGo to next message
warrenbrayshaw
Messages: 1767
Registered: January 2010
Location: New Zealand
Senior Member
On 16/02/2017 9:02 p.m., Marco Trapanese wrote:
> Hi,
> I'm using EAGLE v6.6 on Windows 7 64-bit.
>
> Is there a way to tell EAGLE to generate again a random name for a net
> previously named?
>
> I mean:
>
> 1. say you have a net called N$4
> 2. using the NAME command you change it to FOO
> 3. now I want to revert back to a default name, like N$*
>
> I looked in the docs about NET command and NAME pages without find an
> answer.
>
> Marco


Hi Marco
The ULP I wrote can do that for you

rename_net.ulp

http://eagle.autodesk.com/eagle/ulp?utf8=%E2%9C%93&q%5Btitle_or_author_ or_description_cont%5D=rename_net.ulp&button=


HTH
Warren
--
.... use NNTP://news.cadsoft.de and a functional news reader like
Thunderbird!
.... or http://www.eaglecentral.ca browser access to CadSoft EAGLE
support forums.
Re: Revert net name back to default [message #169420 is a reply to message #169415] Thu, 16 February 2017 18:58 Go to previous messageGo to next message
Jorge Garcia
Messages: 1294
Registered: April 2010
Senior Member
On 2/16/2017 3:02 AM, Marco Trapanese wrote:
> Hi,
> I'm using EAGLE v6.6 on Windows 7 64-bit.
>
> Is there a way to tell EAGLE to generate again a random name for a net
> previously named?
>
> I mean:
>
> 1. say you have a net called N$4
> 2. using the NAME command you change it to FOO
> 3. now I want to revert back to a default name, like N$*
>
> I looked in the docs about NET command and NAME pages without find an
> answer.
>
> Marco

Hello Marco,

I hope you're having a good day. That's an unusual use case, thanks for
bringing it up.

If there are multiple nets named FOO in your design, then they are all
interconnected.

The easiest and safest thing to do is to delete the net and just redraw
it, EAGLE will assign it an N$ name.

Let me know if there's anything else I can do for you.

Best Regards,
Jorge Garcia

--
We have a new forum here <http://forums.autodesk.com>
Re: Revert net name back to default [message #169424 is a reply to message #169420] Thu, 16 February 2017 21:29 Go to previous messageGo to next message
geralds
Messages: 236
Registered: February 2014
Senior Member
Hi Jorge,

>
>
> The easiest and safest thing to do is to delete the net and just redraw
> it, EAGLE will assign it an N$ name.
>

hm. this can be a little bit complicated if there more than two connections , e.g. bus connections or a lot of nodes.

I suggest two actions.
1) exporting the netlist - e.g. netlist(1).txt and check where the N$1...x are.
If here a numbering hole, then you can insert this as e.g. N$[33] (33 is just space holder) or find the lastest N$xxx
2) then rename with [NAME] the complete wire (not the segment only) in the sch with this found N$xxx name.
done.

Best Regards,
Gerald
---

--
To view any images and attachments in this post, visit:
https://www.element14.com/community/message/215979
Re: Revert net name back to default [message #169427 is a reply to message #169424] Fri, 17 February 2017 01:57 Go to previous messageGo to next message
warrenbrayshaw
Messages: 1767
Registered: January 2010
Location: New Zealand
Senior Member
No, the easiest thing to do is run the ULP I mentioned earlier.

One of the options within the ULP is to use the lowest unused N$xx name. Just as Eagle would do if you drew a new net.

HTH
Warren
Re: Revert net name back to default [message #169429 is a reply to message #169419] Fri, 17 February 2017 07:05 Go to previous messageGo to next message
Marco Trapanese
Messages: 297
Registered: May 2007
Senior Member
Il 16/02/2017 19:53, warrenbrayshaw ha scritto:

> Hi Marco
> The ULP I wrote can do that for you
>
> rename_net.ulp

Thanks!
I'm going to try it and then I will write a feedback here.

Best
Marco
Re: Revert net name back to default [message #169430 is a reply to message #169420] Fri, 17 February 2017 07:10 Go to previous messageGo to next message
Marco Trapanese
Messages: 297
Registered: May 2007
Senior Member
Il 16/02/2017 19:58, Jorge Garcia ha scritto:

> I hope you're having a good day. That's an unusual use case, thanks for
> bringing it up.


To me, it happens when I have to insert a component in the middle of an
existing net. I delete one segment, place the new component and
reconnect both sides (I'm talking of two pins components, like R, C, L,
D....).

If I had previously named the net, it keep its own name, at least at one
side. If I need to have the other side to the given name, I need to
revert back to an "un-meaningful" name the first and set again the
desired name to the second.


> If there are multiple nets named FOO in your design, then they are all
> interconnected.


For my (personal?) use case, it should apply only to that segment.
Because is there I broke the net to place a new component.

I'll try the ulp of warrenbrayshaw and see if it fits!
Thanks
Marco
Re: Revert net name back to default [message #169431 is a reply to message #169429] Fri, 17 February 2017 07:48 Go to previous messageGo to next message
Marco Trapanese
Messages: 297
Registered: May 2007
Senior Member
Il 17/02/2017 08:05, Marco Trapanese ha scritto:

> I'm going to try it and then I will write a feedback here.

Yeah! It's great! Thank you
Re: Revert net name back to default [message #169432 is a reply to message #169427] Fri, 17 February 2017 09:35 Go to previous messageGo to next message
geralds
Messages: 236
Registered: February 2014
Senior Member
Hi Warren,

Yes, I saw your ulp, forgot to mention it.
The point: Your ulp is not supplied with the Eagle.
It is a privately written tool.

But it makes fine exactly what I had described yesterday with the manual procedure.
By manual you have to read the netlist, your ulp makes this for you.
Yes of course, you can make a little more with it.

But for me, I'm not a friend for overall automatism because may be i have to repair somewhat after that action.
Best Regards,
Gerald
---

--
To view any images and attachments in this post, visit:
https://www.element14.com/community/message/216038
Re: Revert net name back to default [message #169447 is a reply to message #169430] Fri, 17 February 2017 22:15 Go to previous message
geralds
Messages: 236
Registered: February 2014
Senior Member
Hi,

aha, ok, that's easy i think.
After that if you merges two segments together to one segment, the menu
will ask you, e.g.: "you are connecting two segments;;; the result name will: "...this name, or this name..";; is this ok?"" or similar.
Well, that is easy for N$xx wires. -> just connect it and the suggested name N$xx appears.
This will normally the latest wire number, or the first unused N$xx; e.g. N$1 ( or if N$1 is used, N$2 will come).

Other think about is if you have power wires. Here you have priority usage of this wires.
E.g.
VSS: -> GND => VSS; GND -> VSS => GND;
// because you have supply pins on mostly components, you needs to check it manually.
[merging supply wires.png]
Here in this example: AGND (analogGND) or VSS; but GND (some other have VSS as GND) are power pins of the ICs.
What i want to say: "The wire with that you're going, this wire likes merging to the other and this (other) will you get, or what you want, ... normally."

Best Regards,
Gerald
---

--
To view any images and attachments in this post, visit:
https://www.element14.com/community/message/216118
Previous Topic: Eagle 8, routing
Next Topic: Is anyone at AutoDesk listening?
Goto Forum:
  


Current Time: Thu Sep 21 17:34:13 GMT 2017