I have a script that assigns a number to all the doors in my project. However when I add more doors and rerun the script, all the numbers get jumbled up and assigned to different doors. How do I make sure that the previously numbered doors aren’t effected and only the new ones are?

filter doors there have numbers out in advance

then is there a way to automatically pick up where it left off. for instance, I stop as 63 and the new set of doors begins at 64

What method are you using to grab the doors?

Also, the case add-in’s have a button that allows you to renumber doors based on the either the way the door opens into or vise versa.

You could do something like this: