Click or drag to resize

GH_NamedViewLoadFromViewport Method

Create a named view from a viewport.

Namespace:  Grasshopper.GUI.Canvas
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public void LoadFromViewport(
	GH_Viewport vp,
	GH_NamedViewType view_type
)

Parameters

vp
Type: Grasshopper.GUI.CanvasGH_Viewport
Viewport to mimic.
view_type
Type: Grasshopper.GUI.CanvasGH_NamedViewType
Type of named view to create.
See Also