ApplicationEntryPoint Class

ApplicationEntryPoint Class

For Revit Macros use only.
Inheritance Hierarchy
SystemObject
  Autodesk.Revit.UIUIApplication
    Autodesk.Revit.UI.MacrosApplicationEntryPoint

Namespace: Autodesk.Revit.UI.Macros
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public abstract class ApplicationEntryPoint : UIApplication, 
	IEntryPoint
Public MustInherit Class ApplicationEntryPoint
	Inherits UIApplication
	Implements IEntryPoint
public ref class ApplicationEntryPoint abstract : public UIApplication, 
	IEntryPoint
[<AbstractClassAttribute>]
type ApplicationEntryPoint = 
    class
        inherit UIApplication
        interface IEntryPoint
    end

The ApplicationEntryPoint type exposes the following members.

Constructors
 NameDescription
Public methodApplicationEntryPointInitializes a new instance of the ApplicationEntryPoint class
Top
Properties
 NameDescription
Public propertyActiveAddInId Get current active external application or external command id.
(Inherited from UIApplication)
Public propertyActiveUIDocumentProvides access to an object that represents the currently active project.
(Inherited from UIApplication)
Public propertyAddinFolder The full path to the Revit Macros module.
Public propertyApplication Returns the database level Application represented by this UI level Application.
(Inherited from UIApplication)
Public propertyDrawingAreaExtentsGet the rectangle that represents the screen pixel coordinates of drawing area.
(Inherited from UIApplication)
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
(Inherited from UIApplication)
Public propertyIsViewerModeActive Determines if Revit session is in Viewer mode.
(Inherited from UIApplication)
Public propertyLoadedApplications Returns an array of successfully loaded external applications.
(Inherited from UIApplication)
Public propertyMainWindowExtentsGet the rectangle that represents the screen pixel coordinates of the Revit main window.
(Inherited from UIApplication)
Public propertyMainWindowHandleGet the handle of the Revit main window.
(Inherited from UIApplication)
Public propertyProductIsRS Identifies if the current Revit product has an RS designation. Most add-ins will not need to use this information.
(Inherited from UIApplication)
Top
Methods
 NameDescription
Public methodCanPostCommand Identifies if the given command can be posted, using PostCommand(RevitCommandId).
(Inherited from UIApplication)
Public methodCreateAddInCommandBindingCreates a new AddInCommandBinding.
(Inherited from UIApplication)
Public methodCreateRibbonPanel(String)
(Overrides UIApplicationCreateRibbonPanel(String))
Public methodCreateRibbonPanel(String, String)
(Overrides UIApplicationCreateRibbonPanel(String, String))
Public methodCreateRibbonPanel(Tab, String)
(Overrides UIApplicationCreateRibbonPanel(Tab, String))
Public methodCreateRibbonTab
(Overrides UIApplicationCreateRibbonTab(String))
Public methodDispose
(Inherited from UIApplication)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodFinishInitializationEO For Revit Macros internal use only.
Public methodGetDockablePaneGets a DockablePane object by its ID.
(Inherited from UIApplication)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetRibbonPanels
(Overrides UIApplicationGetRibbonPanels)
Public methodGetRibbonPanels(String)
(Overrides UIApplicationGetRibbonPanels(String))
Public methodGetRibbonPanels(Tab)
(Overrides UIApplicationGetRibbonPanels(Tab))
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodInitialize For Revit Macros internal use only.
Public methodLoadAddInLoads add-ins from the given manifest file.
(Inherited from UIApplication)
Public methodLoadPackageContentsLoads add-ins from the given packageContents.xml file.
(Inherited from UIApplication)
Public methodOnShutdownEO For Revit Macros internal use only.
Public methodOpenAndActivateDocument(String) Opens and activates a Revit document.
(Inherited from UIApplication)
Public methodOpenAndActivateDocument(ModelPath, OpenOptions, Boolean) Opens and activates a Revit document, include both local document or cloud document.
(Inherited from UIApplication)
Public methodOpenAndActivateDocument(ModelPath, OpenOptions, Boolean, IOpenFromCloudCallback) Opens and activates a Revit document, include both local document or cloud document.
(Inherited from UIApplication)
Public methodPostCommand Posts the command to the Revit message queue to be invoked when control returns from the current API context.
(Inherited from UIApplication)
Public methodRegisterContextMenuAdds a new context menu creator.
(Inherited from UIApplication)
Public methodRegisterDockablePaneAdds a new dockable pane to the Revit user interface.
(Inherited from UIApplication)
Public methodRemoveAddInCommandBindingRemoves an AddInCommandBinding.
(Inherited from UIApplication)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventApplicationClosing Subscribe to the ApplicationClosing event to be notified when the Revit application is just about to be closed.
(Inherited from UIApplication)
Public eventDialogBoxShowing 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)
Public eventDisplayingOptionsDialog Subscribe to the options dialog displaying event to be notified when Revit options dialog is displaying.
(Inherited from UIApplication)
Public eventDockableFrameFocusChanged 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)
Public eventDockableFrameVisibilityChanged 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)
Public eventExternalDataManagerChanged Subscribe to ExternalDataManager changed event to be notified.
(Inherited from UIApplication)
Public eventFabricationPartBrowserChanged Subscribe to MEP Fabrication part browser changed event to be notified when MEP Fabrication part browser is updated.
(Inherited from UIApplication)
Public eventFormulaEditing Subscribe to the FormulaEditing event to be notified when the edit formula button has been clicked.
(Inherited from UIApplication)
Public eventIdling Subscribe to the Idling event to be notified when Revit is not in an active tool or transaction.
(Inherited from UIApplication)
Public eventMacroUpdated MacroUpdated.
(Inherited from UIApplication)
Public eventSelectionChanged Subscribe to the SelectionChanged event to be notified after the selection was changed.
(Inherited from UIApplication)
Public eventThemeChanged Subscribe to the ThemeChanged event to be notified after the theme was changed.
(Inherited from UIApplication)
Public eventTransferredProjectStandards Subscribe to the TransferredProjectStandards event to be notified after the scope of a Transfer Project Standards operation has been finalized.
(Inherited from UIApplication)
Public eventTransferringProjectStandards 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)
Public eventViewActivated Subscribe to the ViewActivated event to be notified immediately after Revit has finished activating a view of a document.
(Inherited from UIApplication)
Public eventViewActivating Subscribe to the ViewActivating event to be notified when Revit is just about to activate a view of a document.
(Inherited from UIApplication)
Top
See Also