2024 Class
Changes 0
C

ApplicationEntryPoint

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