Help modifying python script to work with list

Can someone please help me modified the pythons script below to work with a list of views, and not just one view. The original code was from this post https://forum.dynamobim.com/t/viewports-cropbox/10800/9. I am sorry for not posting the code directly but I do not see an option for me to do that as I am a new user.

It looks like the code would work with a list of views already :slight_smile:

If I in put a list, all the value assumes the value of the first number input, instead of allowing control of all 4 sides.

I figured it out. Thank you for the help.

@dmiller could you post your dyn?