Changes in 2020 vs 2025.3 5 missing 3 changed
Flip API Versions →Missing in 2020 (only available in 2025.3)
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. |