2020 Method Back to 2020
M

OpenAndActivateDocument

Version comparison

Per-version detail

Click a version below to see what changed in that release vs your current frame (2020).
Identical to 2020: 2021, 2022, 2023, 2024
2020 current
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(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(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(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.