RVTDocs.com
Namespace: Autodesk.Revit.DB

TemporaryGraphicsManager

Class
Description:
A class that provides functionality to create temporary graphics in a Revit model.
Remarks:

The graphics created by this class are temporary or transient. They are not subject to undo and are not saved. It's caller's responsiblity to manage their lifetime, creation and destruction, though Revit will destroy all of them when closing the model.

Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.TemporaryGraphicsManager
Syntax
TemporaryGraphicsManager Class Members:
Name Description Inherited From
IsValidObject Specifies whether the .NET object represents a valid Revit entity.
Name Description Inherited From
AddControl Creates an in-canvas control.
Clear Clear all temporary graphics objects managed by this manager.
Dispose Releases all resources used by the TemporaryGraphicsManager
Equals Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
GetAll Returns all temporary graphics object indexes managed by this manager.
GetHashCode Serves as the default hash function. (Inherited from Object ) Object
GetTemporaryGraphicsManager Gets a TemporaryGraphicsManager reference of the document.
GetType Gets the Type of the current instance. (Inherited from Object ) Object
RemoveControl Deletes the existing control identified by the unique index.
SetVisibility Changes the visibility of temporary graphics object.
ToString Returns a string that represents the current object. (Inherited from Object ) Object
UpdateControl Updates the in-canvas control identified by the unique index.