Grasshopper

algorithmic modeling for Rhino

Creation
Display
Document Info
Document Modifications
Misc
Reference
Texture Mapping
TreeFrog

Viewport Properties

Component Index > Human > Document Info > Viewport Properties

Get a list of viewports and their properties

Inputs

NameIDDescriptionType
UpdateUToggle this to force an update when autoupdate is not active.Boolean
Auto UpdateAUSet to true to listen for certain changes to viewports. It will update the component when the active viewport changes, or when viewports are added, destroyed, or renamed.Boolean

Outputs

NameIDDescriptionType
Viewport NamesVPThe list of viewportsString
Active Viewport IndexIThe index of the currently active viewportInteger
Viewport BoundsBA rectangle for each viewportRectangle
Viewport Display ModeDMThe english name of the display mode for each viewportString
Camera LocationCLThe location of the camera in each viewportPoint
Camera TargetCTThe location of the camera target in each viewportPoint
Camera PlaneCPThe camera plane for each viewportPlane
Camera Lens LengthCLLThe 35mm lens length of the camera in each viewportNumber
Camera ProjectionCPrTrue if the camera is a perspective projectionBoolean

© 2018   Created by Robin Rodricks and Andrew Heumann.   Hosted by

Badges  |  Report an Issue  |  Terms of Service