I took a script from the forum which changes the view
but it doesn't work on my computer
I would like to change a series of viewports by a series of cam and target Points.
I don't know how to solve that problem
see the attached file
Thanks a lot.
i'm also using revision 12
i tested it again with a new and clear Rhino file - now it works, but if i use it in an existing file it doesn't work ---- any ideas???
-- i have to rebut grasshopper and then open a clean and new rhino file, then it works for that empty file, but not for an existing -- any ideas???
I would like to add a "NewFloatingViewport" + "Projection":"Perspective" if the script doesn't find a viewport with the selected name. How could i do that??
How can i change the camera lens length through grasshopper?
To float a viewport, you need to have a MRhinoView, not an MRhinoViewport. They you can use the FloatRhinoView method and set the only argument to True.
I looked for a way to set lens length and I couldn't find one.