2027 Class
Changes 8
C

ExternalDataManagerTool

Description:
Represents an item of a content tool.
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.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.UI.ExternalDataManagerTool
public class ExternalDataManagerTool : IDisposable
Name Return Type Description Inherited From
C ExternalDataManagerTool(ExternalDataManagerCommandId) None Constructor
C ExternalDataManagerTool(ExternalDataManagerTool) None Create a copy of the object.
Name Return Type Description Inherited From
M Dispose() None Releases all resources used by the ExternalDataManagerTool
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M GetChildCommandIds() IList<ExternalDataManagerCommandId> Obtains the sub menu of the item.
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M SetChildCommandIds(IList<ExternalDataManagerCommandId>) None Sets the sub menu of the item
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
Name Return Type Description Inherited From
P CommandId ExternalDataManagerCommandId The id of the root command represented by this tool item.
P IsValidObject Boolean Specifies whether the .NET object represents a valid Revit entity.