Share

CustomToolBase Class

Description

This abstract class defines a general custom tool that can be used to implement any type of tool supported by tool palettes. It aggregates the various tool interfaces and provides extensive boilerplate implementations that simplify the creation of custom tools.

Class Hierarchy

Autodesk.AutoCAD.Windows.ToolPalette.IAcadStockTool
Autodesk.AutoCAD.Windows.ToolPalette.IAcadTool
Autodesk.AutoCAD.Windows.ToolPalette.IAcadToolContextMenu
Autodesk.AutoCAD.Windows.ToolPalette.IAcadToolFlyoutShape
Autodesk.AutoCAD.Windows.ToolPalette.IAcPiPropertyDisplay
Autodesk.AutoCAD.Windows.ToolPalette.IAcPiPropertyUnspecified
Autodesk.AutoCAD.Windows.ToolPalette.IOPMPropertyDialog
    Autodesk.AutoCAD.Windows.ToolPalette.CustomToolBase

Visual Basic

Public abstract Class CustomToolBase
Inherits IDisposable
Inherits IAcadTool
Inherits IAcadStockTool
Inherits Autodesk.AutoCAD.Windows.ToolPalette.IDropTarget
Inherits IAcPiPropertyUnspecified
Inherits IAcPiPropertyDisplay
Inherits Autodesk.AutoCAD.Windows.ToolPalette.IOPMPropertyExtension
Inherits IAcadToolContextMenu
Inherits Autodesk.AutoCAD.Windows.ToolPalette.IPerPropertyBrowsing
Inherits IOPMPropertyDialog
Inherits IAcadToolFlyoutShape

C#

public abstract class CustomToolBase : IDisposable, IAcadTool, IAcadStockTool, Autodesk.AutoCAD.Windows.ToolPalette.IDropTarget, IAcPiPropertyUnspecified, IAcPiPropertyDisplay, Autodesk.AutoCAD.Windows.ToolPalette.IOPMPropertyExtension, IAcadToolContextMenu, Autodesk.AutoCAD.Windows.ToolPalette.IPerPropertyBrowsing, IOPMPropertyDialog, IAcadToolFlyoutShape;

Notes

Since this is a .NET abstract class, it cannot be instantiated directly. You must derive from this class and instantiate an object of your derived class.

Links

CustomToolBase Methods, CustomToolBase Properties

Was this information helpful?