RenderTabs

References
public sealed class RenderTabs

Methods

FromRenderSessionId

#Since v5.11
public static object FromRenderSessionId(PlugIn plugIn, Type tabType, Guid renderSessionId)
Get the instance of a render tab associated with a specific render session, this is useful when it is necessary to update a control from a RenderPipeline
plugIn (PlugIn)The plug-in that registered the custom user interface
tabType (Type)The type of tab to return
renderSessionId (Guid)The RenderPipeline.RenderSessionId of a specific render session.
Returns the custom tab object if found; otherwise null is returned.

RegisterTab

#Since v7.0
public void RegisterTab(PlugIn plugin, Type tabType, Guid renderEngineId, string caption, Icon icon)
plugin (PlugIn)
tabType (Type)
renderEngineId (Guid)
caption (string)
icon (Icon)

RegisterTab

#Since v5.11 Obsolete v7.0
public void RegisterTab(PlugIn plugin, Type tabType, string caption, Icon icon)
obsoleteUse RegisterTabEx(PlugIn plugin, Type tabType, Guid renderEngineId, string caption, Icon icon)
Register custom render user interface with Rhino. This should only be done in RenderPlugIn.RegisterRenderTabs(RenderTabs). Panels registered after RenderPlugIn.RegisterRenderTabs(RenderTabs) is called will be ignored. If the class includes a public method "void DoHelp()" the method will get called when F1 is pressed and the custom tab is active.
plugin (PlugIn)The plug-in providing the custom user interface
tabType (Type)The type of object to be created and added to the render container.
caption (string)The caption for the custom user interface.
icon (Icon)

SessionIdFromTab

#Since v5.11
public static Guid SessionIdFromTab(object tab)
Get the render session id that created the specified tab object. Only applies to tabs in the context of a render window, not other contexts like Rhino Options or View Properties. It actually returns the identifier associated with the side pane UI which is typically the same as the render session id.
tab (object)

SidePaneUiIdFromTab

#Since v8.0
public static Guid SidePaneUiIdFromTab(object tab)
Get the id of the side pane UI that a tab is in.
tab (object)