Get Left, Back and bottom views using python script


#1

Hello everyone,

I’m trying to get standard views in the script to use in the meshoutline command.
but I can’t return the views “back”, “Left”, and “Bottom”

this is what I have so far:

views = rs.ViewNames()
 
for i in views:
    print i

check = rs.IsView("Left") 
print check

results is

Top
Front
Right
False

how can I get the rest of the views?


(Steve Baer) #2

ViewNames and IsView work with the current set of views in your document; not a ‘pre-canned’ set of default views.

If you need to create a new view using one of the pre-defined viewport projections, I can show you how to do this with RhinoCommon.