Announcements

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

Feature suggestion: Name reordering and/or swapping

josh_l
Enthusiast

Feature suggestion: Name reordering and/or swapping

josh_l
Enthusiast
Enthusiast

Hi,

 

When tidying up and checking a large PCB design to prepare it for manufacturing, I end up in the Design Manager pane renaming some components in a more rational order. For a design with a couple of hundred resistors and capacitors with lots of different and repeated values, it becomes quite tedious because there are no bulk renaming functions.

 

Here's a hyper-simplified example. Say I have these resistors:

 

R1, 10kΩ

R2, 220Ω

R3, 1kΩ

R4, 220Ω

R5, 220Ω

 

...and say I want them to be renamed like this for a less error-prone documentation and manufacturing pipeline:

 

R1, 220Ω

R2, 220Ω

R3, 220Ω

R4, 1kΩ

R5, 10kΩ

 

To the best of my knowledge, since Fusion 360 rightly doesn't allow two components to have the same name at any given time, the only way to do this is to click each one individually and rename it twice. Now imagine you have 150 capacitors on a large board. That's a half hour's work by the time you click around in a UI that already has broken mouse scrolling.

 

It would be delightful if you could implement either or both of these:

 

1) Name swap: Select two components, right click, swap names.

2) Rename by value: Select multiple components, right click, rename by value (ascending or descending).

 

If I've missed something and there's already a way to do this in Fusion 360, please let me know!

 

Cheers,

Josh

0 Likes
Reply
212 Views
3 Replies
Replies (3)

m.neujahr_at_moe
Advocate
Advocate

Hello @josh_l ,

 

sorry to hear that you have so much problems with Fusion Electronics.

But your problem can hopefully be solved:

- There is a possibility to use ULP's with Eagle.

You can start here and adapt the "renumber-sheet.ulp" to your needs:

mneujahr_at_moe_0-1699616958032.png

Click ">ULP"

mneujahr_at_moe_1-1699617019731.png

Select "Durchsuchen..." (sorry, it's a german version)

mneujahr_at_moe_2-1699617151274.png

Make a right-click (on Windows) and open the "renumber-sheet.ulp" with your preferred Editor:

mneujahr_at_moe_3-1699617293174.png

VS-Code has an extension for Eagle-ULPs

mneujahr_at_moe_4-1699617373500.png

And change the function "SortElements(void)" to your needs.

mneujahr_at_moe_0-1699617513778.png

 

That's all. 😊

 

Eagle 9.6.2 / Fusion 360
Working with Eagle since Version 3.x
1 Like

huebnerX4YD3
Participant
Participant

I am using a ULP to rename the part-names of the schematic (called: renumber-sheet.ulp).
Already used it in the old eagle days, not sure if it is still shipped with fusion.

That is not exactly what you want, but maybe you can find it and extend the ULP for value based renaming. Currently only schematic coordinate-based renaming is supported.
https://github.com/robertstarr/ulp_user/blob/master/renumber-sheet.ulp

But I would also prefer not to use ULPs for such a task, every update could break them.

1 Like

josh_l
Enthusiast
Enthusiast

Thanks @m.neujahr_at_moe  and @huebnerX4YD3 for your replies. I haven't looked into ULP until now.

 

I think for time investment vs reward I'll leave it for Autodesk to do the hard work for now 😜... need to get something for my £66/month. I'll focus my code writing toward my own products.

 

Thanks again for the helpful suggestions!

0 Likes