RhinoCommon API
UtilitiesShowContentChooser Method |
Shows the content chooser to allow the user to select a new or existing content.
Namespace: Rhino.Render
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 6.25
public static UtilitiesShowContentChooserResults ShowContentChooser( Guid defaultType, Guid defaultInstanceId, RenderContentKind kinds, ref Guid instanceIdOut, RenderContentShowContentChooserFlags flags, RhinoDoc doc )
Public Shared Function ShowContentChooser ( defaultType As Guid, defaultInstanceId As Guid, kinds As RenderContentKind, ByRef instanceIdOut As Guid, flags As RenderContentShowContentChooserFlags, doc As RhinoDoc ) As UtilitiesShowContentChooserResults
Parameters
- defaultType
- Type: SystemGuid
The content type that will be initially selected in the 'New' tab. - defaultInstanceId
- Type: SystemGuid
The content instance that will be initially selected in the 'Existing' tab. - kinds
- Type: Rhino.RenderRenderContentKind
Which content kinds will be displayed. - instanceIdOut
- Type: SystemGuid
The UUID of the chosen item. Depending on eRhRdkSccResult, this can be the type id of a content type or the instance id of an existing content. - flags
- Type: Rhino.RenderRenderContentShowContentChooserFlags
Tabs specifications. - doc
- Type: RhinoRhinoDoc
A Rhino document.
Return Value
Type: UtilitiesShowContentChooserResultsThe result.