Click or drag to resize

RenderContentCreate Method (RhinoDoc, Guid)

Constructs a new content of the specified type and attaches it to a document. 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.NewContentFromTypeId().

Namespace:  Rhino.Render
Assembly:  RhinoCommon (in RhinoCommon.dll)
public static RenderContent Create(
	RhinoDoc doc,
	Guid type


Type: RhinoRhinoDoc
The Rhino document to attach the new render content to.
Type: SystemGuid
The type of the content to create.

Return Value

Type: RenderContent
A new document-resident render content.
See Also