RhinoCommon API
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)

public static RenderContent Create( Type type, RenderContentShowContentChooserFlags flags, RhinoDoc doc )
Public Shared Function Create ( type As Type, flags As RenderContentShowContentChooserFlags, doc As RhinoDoc ) As RenderContent
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: RenderContentA new persistent render content.

Rhino for Windows
Supported in: 6.14