Click or drag to resize

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)
Syntax
public static UtilitiesShowContentChooserResults ShowContentChooser(
	Guid defaultType,
	Guid defaultInstanceId,
	RenderContentKind kinds,
	ref Guid instanceIdOut,
	RenderContentShowContentChooserFlags flags,
	RhinoDoc doc
)

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: UtilitiesShowContentChooserResults
The result.
See Also