Panels.OpenPanel Method (Guid, Type, Boolean)

PanelsOpenPanel Method (Guid, Type, Boolean)

In Mac Rhino this will just call the version of OpenPanel that takes a class type Id. In Windows Rhino this will look for a dock bar with the specified Id and open or move the specified panel to that dock bar.

Namespace:  Rhino.UI
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static Guid OpenPanel(
	Guid dockBarId,
	Type panelType,
	bool makeSelectedPanel
)
Public Shared Function OpenPanel ( 
	dockBarId As Guid,
	panelType As Type,
	makeSelectedPanel As Boolean
) As Guid

Parameters

dockBarId
Type: SystemGuid
Id of the dock bar hosting one or more panels.
panelType
Type: SystemType
Class type for the panel to open.
makeSelectedPanel
Type: SystemBoolean
If true then the panel is set as the active tab after opening it otherwise; the panel is opened but not set as the active tab.

Return Value

Type: Guid
Returns true if the
Version Information

Rhino for Windows

Supported in: 6.14
See Also