Hi @MullinRJ your code save me a lot of time! I've tried it and it's awesome, but sadly, I would say that after 2 or 3 use and maybe 30 viewports made, vectorworks go crazy. I execute the command, it make the viewport that I want but he keep bringing the "create viewport" settings, I've think it will get stuck on repeat but it end with maybe like 20 or 50 (I've lost the count) more viewport of the whole layer.
I think he maybe save the number of previous viewport asked and turn them into whole layer viewport cause he don't have a crop for them.
Any idea on how to solve that?