ExternalDataManagerTool Class

Represents an item of a content tool.
Inheritance Hierarchy
SystemObject
  Autodesk.Revit.UIExternalDataManagerTool

Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
public class ExternalDataManagerTool : IDisposable

The ExternalDataManagerTool type exposes the following members.

Constructors
Properties
 NameDescription
Public propertyCommandId The id of the root command represented by this tool item.
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
Top
Methods
 NameDescription
Public methodDisposeReleases all resources used by the ExternalDataManagerTool
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetChildCommandIds Obtains the sub menu of the item.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodSetChildCommandIds Sets the sub menu of the item
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Remarks
A tool item represents either a single actionable command (leaf) or a container that owns one or more child commands (parent/branch). Tool items are returned by IExternalDataManagerServer.getContentTools and are used to populate the context-sensitive content tools panel or right-click menus. A typical workflow is: 1. The server constructs a tool item providing the id of the root command. 2. If the root command has sub-commands the server fills ChildCommandIds with the ids of those sub-commands. 3. Revit uses the ids to look-up command metadata in ExternalDataManagerCommand and builds the appropriate UI. All user-visible strings associated with commands (name, tooltip) should be localized by the server.
See Also