Click or drag to resize

UtilitiesShowContentChooser Method (Guid, Guid, RenderContentKind, Guid, RenderContentShowContentChooserFlags, RhinoDoc)

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
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
Semicolon-delimited string specifying 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
Flags controlling the chooser. Multiple selection is not valid for this call.
doc
Type: RhinoRhinoDoc
A Rhino document.

Return Value

Type: UtilitiesShowContentChooserResults
The result of displaying the chooser.
See Also