This Dynamo Script rename family types for example Windows for its parameter Width and Height, (2.0 X 1.0 ) and rename the family to a sequence order (W_1,W_2,W_3,etc…)
Download link: