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 ApplicationEntryPoint class |
| 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. (Inherited from UIApplication ) | 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. (Inherited from UIApplication ) | UIApplication |
| DisplayingOptionsDialog | event | Subscribe to the options dialog displaying event to be notified when Revit options dialog is displaying. (Inherited from UIApplication ) | 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. (Inherited from UIApplication ) | 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. (Inherited from UIApplication ) | UIApplication |
| FabricationPartBrowserChanged | event | Subscribe to MEP Fabrication part browser changed event to be notified when MEP Fabrication part browser is updated. (Inherited from UIApplication ) | UIApplication |
| FormulaEditing | event | Subscribe to the FormulaEditing event to be notified when the edit formula button has been clicked. (Inherited from UIApplication ) | UIApplication |
| Idling | event | Subscribe to the Idling event to be notified when Revit is not in an active tool or transaction. (Inherited from UIApplication ) | UIApplication |
| MacroUpdated | event | MacroUpdated. (Inherited from UIApplication ) | UIApplication |
| SelectionChanged | event | Subscribe to the SelectionChanged event to be notified after the selection was changed. (Inherited from UIApplication ) | UIApplication |
| ThemeChanged | event | Subscribe to the ThemeChanged event to be notified after the theme was changed. (Inherited from UIApplication ) | UIApplication |
| TransferredProjectStandards | event | Subscribe to the TransferredProjectStandards event to be notified after the scope of a Transfer Project Standards operation has been finalized. (Inherited from UIApplication ) | 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. (Inherited from UIApplication ) | UIApplication |
| ViewActivated | event | Subscribe to the ViewActivated event to be notified immediately after Revit has finished activating a view of a document. (Inherited from UIApplication ) | UIApplication |
| ViewActivating | event | Subscribe to the ViewActivating event to be notified when Revit is just about to activate a view of a document. (Inherited from UIApplication ) | UIApplication |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| CanPostCommand(RevitCommandId) | Boolean | Identifies if the given command can be posted, using PostCommand(RevitCommandId) . (Inherited from UIApplication ) | UIApplication |
| CreateAddInCommandBinding(RevitCommandId) | AddInCommandBinding | Creates a new AddInCommandBinding. (Inherited from UIApplication ) | UIApplication |
| CreateRibbonPanel(String) | RibbonPanel | (Overrides UIApplication . CreateRibbonPanel(String) ) | |
| CreateRibbonPanel(String, String) | RibbonPanel | (Overrides UIApplication . CreateRibbonPanel(String, String) ) | |
| CreateRibbonPanel(Tab, String) | RibbonPanel | (Overrides UIApplication . CreateRibbonPanel(Tab, String) ) | |
| CreateRibbonTab(String) | None | (Overrides UIApplication . CreateRibbonTab(String) ) | |
| Dispose() | None | (Inherited from UIApplication ) | UIApplication |
| Equals | None | Determines whether the specified object is equal to the current object. (Inherited from Object ) | Object |
| FinishInitializationEO() | None | For Revit Macros internal use only. | |
| GetDockablePane(DockablePaneId) | DockablePane | Gets a DockablePane object by its ID. (Inherited from UIApplication ) | UIApplication |
| GetHashCode | None | Serves as the default hash function. (Inherited from Object ) | Object |
| GetRibbonPanels() | List<RibbonPanel> | (Overrides UIApplication . GetRibbonPanels () ) | |
| GetRibbonPanels(String) | List<RibbonPanel> | (Overrides UIApplication . GetRibbonPanels(String) ) | |
| GetRibbonPanels(Tab) | List<RibbonPanel> | (Overrides UIApplication . GetRibbonPanels(Tab) ) | |
| GetType | None | Gets the Type of the current instance. (Inherited from Object ) | Object |
| Initialize(Object, String) | None | For Revit Macros internal use only. | |
| LoadAddIn(String) | None | Loads add-ins from the given manifest file. (Inherited from UIApplication ) | UIApplication |
| LoadPackageContents(String) | None | Loads add-ins from the given packageContents.xml file. (Inherited from UIApplication ) | UIApplication |
| OnShutdownEO() | None | For Revit Macros internal use only. | |
| OpenAndActivateDocument(String) | UIDocument | Opens and activates a Revit document. (Inherited from UIApplication ) | UIApplication |
| OpenAndActivateDocument(ModelPath, OpenOptions, Boolean) | UIDocument | Opens and activates a Revit document, include both local document or cloud document. (Inherited from UIApplication ) | UIApplication |
| OpenAndActivateDocument(ModelPath, OpenOptions, Boolean, IOpenFromCloudCallback) | UIDocument | Opens and activates a Revit document, include both local document or cloud document. (Inherited from UIApplication ) | UIApplication |
| PostCommand(RevitCommandId) | None | Posts the command to the Revit message queue to be invoked when control returns from the current API context. (Inherited from UIApplication ) | UIApplication |
| RegisterContextMenu(String, IContextMenuCreator) | None | Adds a new context menu creator. (Inherited from UIApplication ) | UIApplication |
| RegisterDockablePane(DockablePaneId, String, IDockablePaneProvider) | None | Adds a new dockable pane to the Revit user interface. (Inherited from UIApplication ) | UIApplication |
| RemoveAddInCommandBinding(RevitCommandId) | None | Removes an AddInCommandBinding. (Inherited from UIApplication ) | UIApplication |
| ToString | None | Returns a string that represents the current object. (Inherited from Object ) | Object |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| ActiveAddInId | AddInId | Get current active external application or external command id. (Inherited from UIApplication ) | UIApplication |
| ActiveUIDocument | UIDocument | Provides access to an object that represents the currently active project. (Inherited from UIApplication ) | UIApplication |
| AddinFolder | string | The full path to the Revit Macros module. | |
| Application | Application | Returns the database level Application represented by this UI level Application. (Inherited from UIApplication ) | UIApplication |
| DrawingAreaExtents | Rectangle | Get the rectangle that represents the screen pixel coordinates of drawing area. (Inherited from UIApplication ) | UIApplication |
| IsValidObject | Boolean | Specifies whether the .NET object represents a valid Revit entity. (Inherited from UIApplication ) | UIApplication |
| IsViewerModeActive | bool | Obsolete. Determines if Revit session is in Viewer mode. (Inherited from UIApplication ) | UIApplication |
| LoadedApplications | ExternalApplicationArray | Returns an array of successfully loaded external applications. (Inherited from UIApplication ) | UIApplication |
| MainWindowExtents | Rectangle | Get the rectangle that represents the screen pixel coordinates of the Revit main window. (Inherited from UIApplication ) | UIApplication |
| MainWindowHandle | IntPtr | Get the handle of the Revit main window. (Inherited from UIApplication ) | UIApplication |
| ProductIsRS | bool | Identifies if the current Revit product has an RS designation. Most add-ins will not need to use this information. (Inherited from UIApplication ) | UIApplication |