How to set frustum

Hello, I am trying to use SetFrustum, but it doesn’t work ,anyone who can help me, thank you!

import rhinoscriptsyntax as rs
import Rhino
import re

views = Rhino.RhinoDoc.ActiveDoc.Views.GetViewList(True, False)

Rhino.RhinoDoc.ActiveDoc.Views.ActiveView = views[0]

view = Rhino.RhinoDoc.ActiveDoc.Views.ActiveView
activeViewport = view.ActiveViewport
viewport_info = Rhino.DocObjects.ViewportInfo(activeViewport)

print activeViewport.GetFrustum()

direction = activeViewport.CameraDirection
location = activeViewport.CameraLocation
up = activeViewport.CameraUp
lens = activeViewport.Camera35mmLensLength
Angle = activeViewport.GetCameraAngle()
Frustum = activeViewport.GetFrustum()

1 Like

Hi @aaadam.x,

I’ve moved your question to a new topic - one that isn’t 8 years old.

– Dale

1 Like