Zolko wrote: ↑Fri Oct 21, 2022 10:38 am
project4 wrote: ↑Fri Oct 21, 2022 6:47 am
And you don't really want to start looking in the tree for every part you add.
that is debatable.
I'm working on an assembly that will most likely pass 100 parts in it.
It's not feasible manually checking the tree for every part you add.
Or manually adding "_1" if I want the auto-numbering to work correctly.
When I add a link to a part, I have no idea if it's already in the assembly, that's why we use computers that suppose to do some stuff automatically.
Don't you agree? Or you think that a user should intentionally look on the tree to see that there is no duplicate names or to understand that the added instance was already used in that assembly in order to know if he should add "_1" to the name?
What is the intention of adding the "_1" to the name?
To force the code to apply auto-numbering?
I proposed to add a checkbox with the same meaning, which you also didn't like for some reason.
If the checkbox is selected, the auto-numbering logic will be applied. If not, the name will not be touched.
Even better than realizing that the code added some numbers without your intention.
With the checkbox you have the full control.
Set it -> Get the numbering added for every instance.
Don't set it -> The name will be exactly as you typed in the dialog. There is a model with exactly the same name? Error pop-up will appear.