Click or drag to resize

PanelsOpenPanelAsSibling Method (Guid, Guid, Boolean)

In Mac Rhino this will currently just call OpenPanel, in Windows Rhino this will look for a dock bar which contains the sibling panel and add this panel to that dock bar as necessary, if the panel was in another dock bar it will be moved to this dock bar.

Namespace:  Rhino.UI
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 6.0
Syntax
public static bool OpenPanelAsSibling(
	Guid panelId,
	Guid siblingPanelId,
	bool makeSelectedPanel
)

Parameters

panelId
Type: SystemGuid
The class Id of the panel type to open.
siblingPanelId
Type: SystemGuid
The class Id of the sibling panel.
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: Boolean
Returns true if the panel was successfully opened.
See Also