2027 Members
Changes 0
M

UIApplication Methods

Name Return Type Description Inherited From
M CanPostCommand(RevitCommandId) Boolean Identifies if the given command can be posted, using PostCommand(RevitCommandId) .
M CreateAddInCommandBinding(RevitCommandId) AddInCommandBinding Creates a new AddInCommandBinding.
M CreateRibbonPanel(String) RibbonPanel Create a new RibbonPanel on the Add-Ins tab.
M CreateRibbonPanel(String, String) RibbonPanel Create a new RibbonPanel on the specified tab.
M CreateRibbonPanel(Tab, String) RibbonPanel Create a new RibbonPanel on the designated standard Revit tab.
M CreateRibbonTab(String) None Creates a new tab on the Revit user interface.
M Dispose() None
M DoDragDrop(ICollection<String>) None Initiates a drag and drop operation of a collection of file names on the Revit user interface.
M DoDragDrop(Object, IDropHandler) None Initiates a drag and drop operation with a custom drop implementation.
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M GetDockablePane(DockablePaneId) DockablePane Gets a DockablePane object by its ID.
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetRibbonPanels() List<RibbonPanel> Get all the custom Panels on Add-Ins tab of Revit.
M GetRibbonPanels(String) List<RibbonPanel> Get all the custom Panels on a designated Revit tab.
M GetRibbonPanels(Tab) List<RibbonPanel> Get all the custom Panels on a designated standard Revit tab.
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M LoadAddIn(String) None Loads add-ins from the given manifest file.
M LoadPackageContents(String) None Loads add-ins from the given packageContents.xml file.
M OpenAndActivateDocument(String) UIDocument Opens and activates a Revit document.
M OpenAndActivateDocument(ModelPath, OpenOptions, Boolean) UIDocument Opens and activates a Revit document, include both local document or cloud document.
M OpenAndActivateDocument(ModelPath, OpenOptions, Boolean, IOpenFromCloudCallback) UIDocument Opens and activates a Revit document, include both local document or cloud document.
M PostCommand(RevitCommandId) None Posts the command to the Revit message queue to be invoked when control returns from the current API context.
M RegisterContextMenu(String, IContextMenuCreator) None Adds a new context menu creator.
M RegisterDockablePane(DockablePaneId, String, IDockablePaneProvider) None Adds a new dockable pane to the Revit user interface.
M RemoveAddInCommandBinding(RevitCommandId) None Removes an AddInCommandBinding.
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object