ApplicationEntryPoint
Description:
For Revit Macros use only.
For Revit Macros use only.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.UI.UIApplication
Autodesk.Revit.UI.Macros.ApplicationEntryPoint
System.Object
Autodesk.Revit.UI.UIApplication
Autodesk.Revit.UI.Macros.ApplicationEntryPoint
public abstract class ApplicationEntryPoint : UIApplication,
IEntryPoint
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| ApplicationEntryPoint() | None | Initializes a new instance of the class | |
| ApplicationEntryPoint() | None | Initializes a new instance of the class | |
| UIApplication(Application) | None | Use a database level Application to construct a UI-level Application. | UIApplication |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| ApplicationClosing | event | Subscribe to the ApplicationClosing event to be notified when the Revit application is just about to be closed. | UIApplication |
| DialogBoxShowing | event | Subscribe to the DialogBoxShowing event to be notified when Revit is just about to show a dialog box or a message box. | UIApplication |
| DisplayingOptionsDialog | event | Subscribe to the options dialog displaying event to be notified when Revit options dialog is displaying. | UIApplication |
| DockableFrameFocusChanged | event | Subscribe to this event to be notified when a Revit GenericDockableFrame has gained focus or lost focus in the Revit user interface. This event is called only for API-created GenericDockableFrames. | UIApplication |
| DockableFrameVisibilityChanged | event | Subscribe to this event to be notified when a Revit GenericDockableFrame has been shown or hidden in the Revit user interface. This event is called only for API-created GenericDockableFrames. | UIApplication |
| FabricationPartBrowserChanged | event | Subscribe to MEP Fabrication part browser changed event to be notified when MEP Fabrication part browser is updated. | UIApplication |
| FormulaEditing | event | Subscribe to the FormulaEditing event to be notified when the edit formula button has been clicked. | UIApplication |
| Idling | event | Subscribe to the Idling event to be notified when Revit is not in an active tool or transaction. | UIApplication |
| SelectionChanged | event | Subscribe to the SelectionChanged event to be notified after the selection was changed. | UIApplication |
| ThemeChanged | event | Subscribe to the ThemeChanged event to be notified after the theme was changed. | UIApplication |
| TransferredProjectStandards | event | Subscribe to the TransferredProjectStandards event to be notified after the scope of a Transfer Project Standards operation has been finalized. | UIApplication |
| TransferringProjectStandards | event | Subscribe to the TransferringProjectStandards event to be notified before the scope of an impending Transfer Project Standards operation has been finalized in the Transfer Project Standards dialog. | UIApplication |
| ViewActivated | event | Subscribe to the ViewActivated event to be notified immediately after Revit has finished activating a view of a document. | UIApplication |
| ViewActivating | event | Subscribe to the ViewActivating event to be notified when Revit is just about to activate a view of a document. | UIApplication |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| CreateRibbonPanel(String) | RibbonPanel | ||
| CreateRibbonPanel(String, String) | RibbonPanel | ||
| CreateRibbonPanel(Tab, String) | RibbonPanel | ||
| CreateRibbonTab(String) | None | ||
| FinishInitializationEO() | None | For Revit Macros internal use only. | |
| FinishInitializationEO() | None | For Revit Macros internal use only. | |
| GetRibbonPanels() | List<RibbonPanel> | ||
| GetRibbonPanels(String) | List<RibbonPanel> | ||
| GetRibbonPanels(Tab) | List<RibbonPanel> | ||
| Initialize(Object, String) | None | For Revit Macros internal use only. | |
| Initialize(Object, String) | None | For Revit Macros internal use only. | |
| OnShutdownEO() | None | For Revit Macros internal use only. | |
| OnShutdownEO() | None | For Revit Macros internal use only. | |
| CanPostCommand(RevitCommandId) | bool | Identifies if the given command can be posted, using . | UIApplication |
| CreateAddInCommandBinding(RevitCommandId) | AddInCommandBinding | Creates a new AddInCommandBinding. | UIApplication |
| CreateRibbonPanel(String) | RibbonPanel | Create a new RibbonPanel on the Add-Ins tab. | UIApplication |
| CreateRibbonPanel(String, String) | RibbonPanel | Create a new RibbonPanel on the specified tab. | UIApplication |
| CreateRibbonPanel(Tab, String) | RibbonPanel | Create a new RibbonPanel on the designated standard Revit tab. | UIApplication |
| CreateRibbonTab(String) | None | Creates a new tab on the Revit user interface. | UIApplication |
| Dispose() | None | Releases all resources used by the | UIApplication |
| DoDragDrop(ICollection<String>) | None | Initiates a drag and drop operation of a collection of file names on the Revit user interface. | UIApplication |
| DoDragDrop(Object, IDropHandler) | None | Initiates a drag and drop operation with a custom drop implementation. | UIApplication |
| GetDockablePane(DockablePaneId) | DockablePane | Gets a DockablePane object by its ID. | UIApplication |
| GetRibbonPanels() | List<RibbonPanel> | Get all the custom Panels on Add-Ins tab of Revit. | UIApplication |
| GetRibbonPanels(String) | List<RibbonPanel> | Get all the custom Panels on a designated Revit tab. | UIApplication |
| GetRibbonPanels(Tab) | List<RibbonPanel> | Get all the custom Panels on a designated standard Revit tab. | UIApplication |
| LoadAddIn(String) | None | Loads add-ins from the given manifest file. | UIApplication |
| LoadPackageContents(String) | None | Loads add-ins from the given packageContents.xml file. | UIApplication |
| OpenAndActivateDocument(ModelPath, OpenOptions, Boolean) | The opened document. | Opens and activates a Revit document, include both local document or cloud document. | UIApplication |
| OpenAndActivateDocument(ModelPath, OpenOptions, Boolean, IOpenFromCloudCallback) | The opened document. | Opens and activates a Revit document, include both local document or cloud document. | UIApplication |
| OpenAndActivateDocument(String) | The opened document. | Opens and activates a Revit document. | UIApplication |
| PostCommand(RevitCommandId) | None | Posts the command to the Revit message queue to be invoked when control returns from the current API context. | UIApplication |
| RegisterDockablePane(DockablePaneId, String, IDockablePaneProvider) | None | Adds a new dockable pane to the Revit user interface. | UIApplication |
| RemoveAddInCommandBinding(RevitCommandId) | None | Removes an AddInCommandBinding. | UIApplication |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| AddinFolder | string | The full path to the Revit Macros module. | |
| AddinFolder | string | The full path to the Revit Macros module. | |
| ActiveAddInId | AddInId | Get current active external application or external command id. | UIApplication |
| ActiveUIDocument | UIDocument | Provides access to an object that represents the currently active project. | UIApplication |
| Application | Application | Returns the database level Application represented by this UI level Application. | UIApplication |
| DrawingAreaExtents | Rectangle | Get the rectangle that represents the screen pixel coordinates of drawing area. | UIApplication |
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. | UIApplication |
| IsViewerModeActive | bool | Determines if Revit session is in Viewer mode. | UIApplication |
| LoadedApplications | ExternalApplicationArray | Returns an array of successfully loaded external applications. | UIApplication |
| MainWindowExtents | Rectangle | Get the rectangle that represents the screen pixel coordinates of the Revit main window. | UIApplication |
| MainWindowHandle | IntPtr | Get the handle of the Revit main window. | UIApplication |
| ProductIsRS | bool | Identifies if the current Revit product has an RS designation. Most add-ins will not need to use this information. | UIApplication |