Click or drag to resize

RenderContentCreate Method (Guid, 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)
Since: 5.1
public static RenderContent Create(
	Guid type,
	RenderContentShowContentChooserFlags flags,
	RhinoDoc doc


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

Return Value

Type: RenderContent
A new persistent render content.
See Also