Click or drag to resize

RenderContentCreate Method (Type, RenderContentShowContentChooserFlags, RhinoDoc)

Constructs a new content of the specified type and add it to the persistent content list. This function cannot be used to create temporary content that you delete after use. Content created by this function is owned by RDK and appears in the content editor. To create a temporary content which is owned by you, call RenderContentType.NewContentFromType().

Namespace:  Rhino.Render
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static RenderContent Create(
	Type type,
	RenderContentShowContentChooserFlags flags,
	RhinoDoc doc
)

Parameters

type
Type: SystemType
Is the type of the content to add.
flags
Type: Rhino.RenderRenderContentShowContentChooserFlags
Options for the tab.
doc
Type: RhinoRhinoDoc
The current Rhino document.

Return Value

Type: RenderContent
A new persistent render content.
Version Information

Rhino for Windows

Supported in: 6.1 BETA
See Also