UIApplication Methods

The UIApplication type exposes the following members.

Methods

  NameDescription
Public methodCanPostCommand
Identifies if the given command can be posted, using PostCommand(RevitCommandId).
Public methodCreateAddInCommandBinding
Creates a new AddInCommandBinding.
Public methodCreateRibbonPanel(String)
Create a new RibbonPanel on the Add-Ins tab.
Public methodCreateRibbonPanel(String, String)
Create a new RibbonPanel on the specified tab.
Public methodCreateRibbonPanel(Tab, String)
Create a new RibbonPanel on the designated standard Revit tab.
Public methodCreateRibbonTab
Creates a new tab on the Revit user interface.
Public methodDispose
Public methodStatic memberDoDragDrop(ICollection<(Of <<'(String>)>>))
Initiates a drag and drop operation of a collection of file names on the Revit user interface.
Public methodStatic memberDoDragDrop(Object, IDropHandler)
Initiates a drag and drop operation with a custom drop implementation.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetDockablePane
Gets a DockablePane object by its ID.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetRibbonPanels()()()()
Get all the custom Panels on Add-Ins tab of Revit.
Public methodGetRibbonPanels(String)
Get all the custom Panels on a designated Revit tab.
Public methodGetRibbonPanels(Tab)
Get all the custom Panels on a designated standard Revit tab.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLoadAddIn
Loads add-ins from the given manifest file.
Public methodLoadPackageContents
Loads add-ins from the given packageContents.xml file.
Public methodOpenAndActivateDocument(String)
Opens and activates a Revit document.
Public methodOpenAndActivateDocument(ModelPath, OpenOptions, Boolean)
Opens and activates a Revit document, include both local document or cloud document.
Public methodOpenAndActivateDocument(ModelPath, OpenOptions, Boolean, IOpenFromCloudCallback)
Opens and activates a Revit document, include both local document or cloud document.
Public methodPostCommand
Posts the command to the Revit message queue to be invoked when control returns from the current API context.
Public methodRegisterDockablePane
Adds a new dockable pane to the Revit user interface.
Public methodRemoveAddInCommandBinding
Removes an AddInCommandBinding.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

See Also