- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I’ve created a C# routine which processed Areas and creates plans from them – they all works really well and I’m happy with the result.
There is one minor issue, which is, when the routine runs on a big model, it takes a while to complete and the user assumes that Revit has crashed.
I added a progress dialog in the form of a Modeless dialog which has two progress counters on it. As the routine executes it updates the progress counters and informs the users.
I found that I had to call dialog.Refresh() every time I updated the counter otherwise the dialog would not update.
So this all works fine on the machine I wrote the code on, but I’ve found when I run it on another machine the progress dialog doesn’t update. Sometimes it does update one of the progress counters, other times the whole dialog doesn’t refresh and it displays as white blocks.
I’m struggling to understand why it works fine on one machine and not on another.
I’d appreciate some tips on getting this to work.
Solved! Go to Solution.