Click or drag to resize

RhinoViewportSetProjection Method

Set viewport to a defined projection.

Namespace:  Rhino.Display
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public bool SetProjection(
	DefinedViewportProjection projection,
	string viewName,
	bool updateConstructionPlane
)

Parameters

projection
Type: Rhino.DisplayDefinedViewportProjection
The "standard" projection type.
viewName
Type: SystemString
If not null or empty, the name is set.
updateConstructionPlane
Type: SystemBoolean
If true, the construction plane is set to the viewport plane.

Return Value

Type: Boolean
true if successful.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.6
See Also