pyRevit icon indicating copy to clipboard operation
pyRevit copied to clipboard

Renumbering tool does not catch duplicate values

Open lizzyj opened this issue 2 months ago • 1 comments

Is your feature request related to a problem? Please describe

I noticed that the renumber tool, does not catch duplicate values, it will instead just change the duplicated value to the next in sequence value. (I.e i have a door already placed, and tagged as 1. I start the renumber function and set an untagged door as door 1, it will automatically re-tag the door 1 as door 2 instead of indicating that there is a duplicate value.)

Describe the solution you'd like

Here may be likely shift-click behavior options -

  1. an alert popup telling people (Duplicate Element Found) [default]
  2. Skip an Item if it is already renumbered [likely most used]
  3. sweep and renumber everything [likely less desirable]

Additional context

I can see that this may cause some issues if, for example I am tagging hundreds of doors and it then starts changing tags for doors that should stay associated unless I am clicking to renumber it.

lizzyj avatar Oct 29 '25 11:10 lizzyj

It is in our radar from a previous issue. being tracked for future inclusion. The point is to set a Shift+Click to give the users some options, however a major part of the functions needs to be rewritten.

tay0thman avatar Oct 29 '25 19:10 tay0thman