2025.0.2-preview.2.0
Pre-release
Pre-release
- Context global handlers:
- SuppressFailures: suppresses the display of the Revit error and warning messages during transaction.
By default, Revit uses manual error resolution control with user interaction.
This method provides automatic resolution of all failures without notifying the user or interrupting the program - SuppressDialogs: suppresses the display of the Revit dialogs
- SuppressFailures: suppresses the display of the Revit error and warning messages during transaction.
- Context global properties:
- IsRevitInApiMode: determines whether Revit is in API mode or not.
- ExternalCommand class:
- SuppressFailures is obsolete. Use Context class instead.
- SuppressDialogs is obsolete. Use Context class instead.
- ActionEventHandler now understands when it is in a Revit context and calls the handler immediately, without adding to the queue.
- AsyncEventHandler now understands when it is in a Revit context and calls the handler immediately, without adding to the queue.
Awaiting withawait
keyword will not cause a context switch, and you can still call API requests in the main Revit thread. - Nullable types support
- Assembly load context internal optimizations
- Readme updates, include extra samples
Full changelog: 2025.0.2-preview.1.0...2025.0.2-preview.2.0