Paste Aligned To Views

Hi everyone,

I am currently working on curtain walls and I have 18 views of those, all dimensioned, there were some changes in project where the mullion profile has to change and I get the warning that all the dimensions will be removed…

So despite I replaced the profile (instead of making a new one) to add new depth the dimensions are still meant to be removed. I plan to create a script where it copies all dimensions in all the views and will paste them back grouped by key (key being the view?) so it will paste them back aligned to view.

Is there a better way to do this? Is it possible for such script? So far I didn’t find a node to paste aligned to view, so its a bad start.

Thanks for any help.