Click or drag to resize

PanelsGetPanel Method (Guid, UInt32)

Will return an instance of a .Net panel if the panel has been displayed at least once. Panel instances are not created until a panel is displayed.

Namespace:  Rhino.UI
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static Object GetPanel(
	Guid panelId,
	uint documentSerialNumber
)

Parameters

panelId
Type: SystemGuid
Class Id of the panel to search for.
documentSerialNumber
Type: SystemUInt32
Runtime document Id associated with the requested panel.

Return Value

Type: Object
Returns the one and only instance of a panel if it has been properly registered and displayed at least once. If the panel has never been displayed then null will be returned even if the panel is properly registered.
Version Information

Rhino for Windows

Supported in: 6.1 BETA
See Also