ExternalDataManagerTool Class


External Data Manager Tool Class

Represents an item of a content tool.
Inheritance Hierarchy
System Object
Autodesk.Revit.UI ExternalDataManagerTool

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
Name Description
Public property CommandId The id of the root command represented by this tool item.
Public property IsValidObject Specifies whether the .NET object represents a valid Revit entity.
Top
Methods
Name Description
Public method Dispose Releases all resources used by the ExternalDataManagerTool
Public method Equals Determines whether the specified object is equal to the current object.
(Inherited from Object )
Public method GetChildCommandIds Obtains the sub menu of the item.
Public method GetHashCode Serves as the default hash function.
(Inherited from Object )
Public method GetType Gets the Type of the current instance.
(Inherited from Object )
Public method SetChildCommandIds Sets the sub menu of the item
Public method ToString Returns 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
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →