Message 1 of 3
Handling Errors in RevitPythonShell

Not applicable
09-24-2017
10:31 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
i tried error handling structure as:
try: # my code except Exception as e: print e
Most of times there are transactions started but did not committed. How to catch and close all current opened transactions ?
i tried Events.ProgressChangedEventArgs but can not figured out how to close transactions.
is there any way to use an external editor (IDE) likes Jupyter or VS code to code and test Python Script instead of RevitPythonShell ?