Click or drag to resize

ContentUndoHelperAddContent Method

Call this *after* adding a content. Undo will cause the content to be deleted.

Namespace:  Rhino.Render
Assembly:  RhinoCommon (in RhinoCommon.dll)
public bool AddContent(
	RenderContent content,
	RenderContent parent


Type: Rhino.RenderRenderContent
Content you just added to the ContentList.
Type: Rhino.RenderRenderContent
is the content that will become the parent of the new content, or null if the new content is being added at the top level (i.e., not a child).

Return Value

Type: Boolean
true if the content was added.
Version Information

Rhino for Windows

Supported in: 6.2
See Also