Attached Automation code is to renumber RefDes of components in active sheet of DxDesigner.
When nothing is selected - RefDes of all components are renumbered
When one or more components are selected - RefDes of selected components are renumbered.
A prompt dialog asking beginning number is followed by running the code, and the result of renumbering after completion pops up after completion.
Is there any chance you'd extend this script to be able to renumber RefDes in the whole design?