ViewSettingsState

ReferencesSince v5.0
public class ViewSettingsState
Represents a snapshot of ViewSettings.

Properties

AlwaysPanParallelViews

#Since v5.0
Gets or sets the 'always pan parallel views' value.

If the view is not looking straight at the construction plane, then sets parallel viewports so they will not rotate.

public bool AlwaysPanParallelViews { get; set; }

DefinedViewSetCPlane

#Since v5.0
Gets or sets the 'named views set CPlane' value.

When true, restoring a named view causes the construction plane saved with that view to also restore.

public bool DefinedViewSetCPlane { get; set; }

DefinedViewSetProjection

#Since v5.0
Gets or sets the 'named views set projection' value.

When true, restoring a named view causes the viewport projection saved with the view to also restore.

public bool DefinedViewSetProjection { get; set; }

LinkedViewports

#Since v5.0
Gets or sets the 'linked views' activated setting.

true enables real-time view synchronization. When a standard view is manipulated, the camera lens length of all parallel projection viewports are set to match the current viewport.

public bool LinkedViewports { get; set; }

PanReverseKeyboardAction

#Since v5.0
Gets or sets if panning with the keyboard is reversed.

false, then Rhino pans the camera in the direction of the arrow key you press. true, then Rhino pans the scene instead.

public bool PanReverseKeyboardAction { get; set; }

PanScreenFraction

#Since v5.0
Gets or sets the faction used as multiplier to pan the screen.
public double PanScreenFraction { get; set; }

RotateCircleIncrement

#Since v5.0
Gets or sets the rotation increment.

When the user rotates a view with the keyboard, Rhino rotates the view in steps. The usual step is 1/60th of a circle, which equals six degrees.

public int RotateCircleIncrement { get; set; }

RotateReverseKeyboard

#Since v5.0
Gets or sets the rotation direction.

If true, then Rhino rotates the camera around the scene, otherwise, rotates the scene itself.

public bool RotateReverseKeyboard { get; set; }

RotateToView

#Since v5.0
Gets or sets the rotation reference.

If true, then the views rotates relative to the view axes; false, than relative to the world x, y, and z axes.

public bool RotateToView { get; set; }

RotateViewAroundAutogumball

#Since v9.0
public bool RotateViewAroundAutogumball { get; set; }

SingleClickMaximize

#Since v5.0
Gets or sets the 'single-click maximize' value.

When true, maximizing a viewport needs a single click on the viewport title rather than a double-click.

public bool SingleClickMaximize { get; set; }

ThreePointPerspectiveLensLength

#Since v8.20
Gets the three point perspective lens length. The default is 50mm.
public double ThreePointPerspectiveLensLength { get; }

TwoPointPerspectiveLensLength

#Since v8.20
Gets the two point perspective lens length. The default is 20mm.
public double TwoPointPerspectiveLensLength { get; }

ViewRotation

#Since v8.1
Gets or sets the view rotation value.
public ViewSettings.ViewRotationStyle ViewRotation { get; set; }

ZoomExtentsParallelViewBorder

#Since v6.3
Border amount to apply to parallel viewport during zoom extents
public double ZoomExtentsParallelViewBorder { get; set; }

ZoomExtentsPerspectiveViewBorder

#Since v6.3
Border amount to apply to perspective viewport during zoom extents
public double ZoomExtentsPerspectiveViewBorder { get; set; }

ZoomScale

#Since v5.0
Gets or sets the step size for zooming with a wheeled mouse or the Page Up and Page Down keys.
public double ZoomScale { get; set; }