2020 Class Back to 2020
C

UIApplication

Version comparison

Members across versions

49 members across 9 versions · 5 added later · 1 removed · 4 changed · 1 obsolete

Member-name color: stable · changed · removed · obsolete · added later

Member 2020 2021 2022 2023 2024 2025 2025.3 2026 2027
C UIApplication(Application)
same same same same same same same same same
M CanPostCommand(RevitCommandId)
same same same same same same same same same
M CreateAddInCommandBinding(RevitCommandId)
same same same same same same same same same
M CreateRibbonPanel(Tab, String)
same same same same same same same same same
M CreateRibbonPanel(String)
same same same same same same same same same
M CreateRibbonPanel(String, String)
same same same same same same same same same
M CreateRibbonTab(String)
same same same same same same same same same
same same same same same same same same same
M DoDragDrop(Object, IDropHandler)
same same same same same same same same same
M DoDragDrop(ICollection<String>)
same same same same same same same same same
M GetDockablePane(DockablePaneId)
same same same same same same same same same
M GetRibbonPanels(String)
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
M LoadAddIn(String)
same same same same same same same same same
same same same same same same same same same
same same same same same changed same same same
M OpenAndActivateDocument(ModelPath, OpenOptions, Boolean)
same same same same same changed same same same
M OpenAndActivateDocument(ModelPath, OpenOptions, Boolean, IOpenFromCloudCallback)
same same same same same changed same same same
M PostCommand(RevitCommandId)
same same same same same same same same same
M RegisterContextMenu(String, IContextMenuCreator)
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same same same
M RegisterDockablePane(DockablePaneId, String, IDockablePaneProvider)
same same same same same same same same same
M RemoveAddInCommandBinding(RevitCommandId)
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same changed
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added missing missing
same same same same same same same same same
same same same same same same same same same
E Idling
same same same same same same same same same
not yet introduced not yet introduced not yet introduced not yet introduced not yet introduced added same same same
not yet introduced not yet introduced not yet introduced added same same same same same
not yet introduced not yet introduced not yet introduced not yet introduced added same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same
same same same same same same same same same

Per-version detail

Click a version below to see what changed in that release vs your current frame (2020).
Identical to 2020: 2021, 2022
2020 current

Changes in 2025 vs 2020 4 added 3 changed

Flip API Versions →

Added in 2025 (new since 2020)

Changed members

UIApplication.OpenAndActivateDocument(String)
fileName String A full path to a revit file to be opened. The file can be either a Revit project, template, or family document.
→ returns UIDocument The opened document.
UIApplication.OpenAndActivateDocument(ModelPath, OpenOptions, Boolean)
modelPath ModelPath A path to a Revit file to be opened. The file can be either a Revit project, template, or family document.
openOptions OpenOptions Options for opening the file.
detachAndPrompt Boolean True means if openOptions specifies DoNotDetach, then for workshared models detach from central and query the user whether to preserve or discard worksets. make no sense when opening a cloud document.
→ returns UIDocument The opened document.
UIApplication.OpenAndActivateDocument(ModelPath, OpenOptions, Boolean, IOpenFromCloudCallback)
modelPath ModelPath A path to a Revit file to be opened. The file can be either a Revit project, template, or family document.
openOptions OpenOptions Options for opening the file.
detachAndPrompt Boolean True means if openOptions specifies DoNotDetach, then for workshared models detach from central and query the user whether to preserve or discard worksets. make no sense when opening a cloud document.
openFromCloudCallback IOpenFromCloudCallback Callback function that allow caller to handle cases when conflicts happen during opening a cloud document. Make no sense when opening a non-cloud document.
→ returns UIDocument The opened document.

Changes in 2025.3 vs 2020 5 added 3 changed

Flip API Versions →

Added in 2025.3 (new since 2020)

Changed members

UIApplication.OpenAndActivateDocument(String)
fileName String A full path to a revit file to be opened. The file can be either a Revit project, template, or family document.
→ returns UIDocument The opened document.
UIApplication.OpenAndActivateDocument(ModelPath, OpenOptions, Boolean)
modelPath ModelPath A path to a Revit file to be opened. The file can be either a Revit project, template, or family document.
openOptions OpenOptions Options for opening the file.
detachAndPrompt Boolean True means if openOptions specifies DoNotDetach, then for workshared models detach from central and query the user whether to preserve or discard worksets. make no sense when opening a cloud document.
→ returns UIDocument The opened document.
UIApplication.OpenAndActivateDocument(ModelPath, OpenOptions, Boolean, IOpenFromCloudCallback)
modelPath ModelPath A path to a Revit file to be opened. The file can be either a Revit project, template, or family document.
openOptions OpenOptions Options for opening the file.
detachAndPrompt Boolean True means if openOptions specifies DoNotDetach, then for workshared models detach from central and query the user whether to preserve or discard worksets. make no sense when opening a cloud document.
openFromCloudCallback IOpenFromCloudCallback Callback function that allow caller to handle cases when conflicts happen during opening a cloud document. Make no sense when opening a non-cloud document.
→ returns UIDocument The opened document.

Changes in 2026 vs 2020 4 added 3 changed

Flip API Versions →

Added in 2026 (new since 2020)

Changed members

UIApplication.OpenAndActivateDocument(String)
fileName String A full path to a revit file to be opened. The file can be either a Revit project, template, or family document.
→ returns UIDocument The opened document.
UIApplication.OpenAndActivateDocument(ModelPath, OpenOptions, Boolean)
modelPath ModelPath A path to a Revit file to be opened. The file can be either a Revit project, template, or family document.
openOptions OpenOptions Options for opening the file.
detachAndPrompt Boolean True means if openOptions specifies DoNotDetach, then for workshared models detach from central and query the user whether to preserve or discard worksets. make no sense when opening a cloud document.
→ returns UIDocument The opened document.
UIApplication.OpenAndActivateDocument(ModelPath, OpenOptions, Boolean, IOpenFromCloudCallback)
modelPath ModelPath A path to a Revit file to be opened. The file can be either a Revit project, template, or family document.
openOptions OpenOptions Options for opening the file.
detachAndPrompt Boolean True means if openOptions specifies DoNotDetach, then for workshared models detach from central and query the user whether to preserve or discard worksets. make no sense when opening a cloud document.
openFromCloudCallback IOpenFromCloudCallback Callback function that allow caller to handle cases when conflicts happen during opening a cloud document. Make no sense when opening a non-cloud document.
→ returns UIDocument The opened document.

Changes in 2027 vs 2020 4 added 4 changed

Flip API Versions →

Added in 2027 (new since 2020)

Changed members

UIApplication.OpenAndActivateDocument(String)
fileName String A full path to a revit file to be opened. The file can be either a Revit project, template, or family document.
→ returns UIDocument The opened document.
UIApplication.OpenAndActivateDocument(ModelPath, OpenOptions, Boolean)
modelPath ModelPath A path to a Revit file to be opened. The file can be either a Revit project, template, or family document.
openOptions OpenOptions Options for opening the file.
detachAndPrompt Boolean True means if openOptions specifies DoNotDetach, then for workshared models detach from central and query the user whether to preserve or discard worksets. make no sense when opening a cloud document.
→ returns UIDocument The opened document.
UIApplication.OpenAndActivateDocument(ModelPath, OpenOptions, Boolean, IOpenFromCloudCallback)
modelPath ModelPath A path to a Revit file to be opened. The file can be either a Revit project, template, or family document.
openOptions OpenOptions Options for opening the file.
detachAndPrompt Boolean True means if openOptions specifies DoNotDetach, then for workshared models detach from central and query the user whether to preserve or discard worksets. make no sense when opening a cloud document.
openFromCloudCallback IOpenFromCloudCallback Callback function that allow caller to handle cases when conflicts happen during opening a cloud document. Make no sense when opening a non-cloud document.
→ returns UIDocument The opened document.
UIApplication.IsViewerModeActive()
No longer obsolete in 2020 (was obsolete in 2027)
→ returns Boolean