RhinoCommon API
new_releases
RhinoCommon documentation has a new look. The old site can still be found here.
play_arrow
Rhino
play_arrow
Rhino.ApplicationSettings
play_arrow
Rhino.Collections
play_arrow
Rhino.Commands
play_arrow
Rhino.Display
play_arrow
Rhino.DocObjects
play_arrow
Rhino.DocObjects.Custom
play_arrow
Rhino.DocObjects.SnapShots
play_arrow
Rhino.DocObjects.Tables
play_arrow
Rhino.FileIO
play_arrow
Rhino.Geometry
play_arrow
Rhino.Geometry.Collections
play_arrow
Rhino.Geometry.Intersect
play_arrow
Rhino.Geometry.MeshRefinements
play_arrow
Rhino.Geometry.Morphs
play_arrow
Rhino.Input
play_arrow
Rhino.Input.Custom
play_arrow
Rhino.NodeInCode
play_arrow
Rhino.ObjectManager
play_arrow
Rhino.PlugIns
play_arrow
Rhino.Render
play_arrow
Rhino.Render.ChangeQueue
play_arrow
Rhino.Render.ChildSlotNames
play_arrow
Rhino.Render.CustomRenderMeshes
play_arrow
Rhino.Render.DataSources
play_arrow
Rhino.Render.Fields
play_arrow
Rhino.Render.ParameterNames
play_arrow
Rhino.Render.PostEffects
play_arrow
Rhino.Render.UI
play_arrow
Rhino.Runtime
play_arrow
Rhino.Runtime.InProcess
play_arrow
Rhino.Runtime.InteropWrappers
play_arrow
Rhino.Runtime.Notifications
play_arrow
Rhino.Runtime.RhinoAccounts
play_arrow
Rhino.UI
play_arrow
Rhino.UI.Controls
play_arrow
Rhino.UI.Controls.DataSource
play_arrow
Rhino.UI.Controls.ThumbnailUI
play_arrow
Rhino.UI.Controls.Thumbnaillist
play_arrow
Rhino.UI.Gumball
play_arrow
dotnetstart
home
/
Rhino.Render
/
ContentUndoHelper

ContentUndoHelper class

Content undo helper to be used with "using {}" to enclose a block of changes.

Derived Classes:

Namespace: Rhino.Render
ContentUndoHelper: references

keyboard_arrow_down
Constructors (2)

ContentUndoHelper(RhinoDoc doc, String description)

 
DEPRECATED: Constructs a ContentUndoHelper object inside a using block to handle undo when modifying a RenderContent or - alternatively - create the ContentUndoHelper and explicitly call Dispose when you are done.

ContentUndoHelper(RhinoDoc doc)

 
Constructs a ContentUndoHelper object inside a using block to handle undo when modifying a RenderContent or - alternatively - create the ContentUndoHelper and explicitly call Dispose when you are done.

keyboard_arrow_down
Methods (5)

AddContent(RenderContent content, RenderContent parent)

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

Dispose()

 

Dispose(Boolean isDisposing)

 

ModifyContent(RenderContent content)

 
Call this before modifying or deleting a content. Undo will cause the content to be restored.

TweakContent(RenderContent content,String parameterName)

 
Call this before tweaking a single content parameter. Undo will cause the parameter to be restored.

Nothing found