- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Is there a way to 'ask' the Revit API what background processes are running? To monitor them?
I'm countering the following problem:
I have a lot of different tasks to complete.
all working just fine fired 1 at the time.
If I fire them up to quick after each other, Revit Crashes!
When I let my code take a break between tasks, the crashes are solved or strongly reduced.
I now use a timer to start the tasks with a pause of some seconds, working fine most of the time.
But when my PC is Bussy doing something else, and the resources for Revit are low, those seconds are not enough and Revit Crashes again.
I think this is because the new task is started while in the background the previous task is not completely finished, no I need to ask Revit for any running background processes, if any running, than the code will wait for it to end before starting a new task.
Is there a way to 'ask' the Revit API what background processes are running? To monitor them?
Chris Hanschen
LKSVDD architecten
Enschede, The Netherlands.
Solved! Go to Solution.