Sometimes Revit UI is inactive for a while after running a command

Sometimes Revit UI is inactive for a while after running a command

adam.krug
Advocate Advocate
245 Views
0 Replies
Message 1 of 1

Sometimes Revit UI is inactive for a while after running a command

adam.krug
Advocate
Advocate

I sometimes notice a strange behavior when I debug or test my commands: after the command finishes Revit UI stays inactive for a while (e.g. up to 1 minute). Sometimes all ribbons are grayed out, sometimes I just cannot click on "Undo" button for a while.

 

It may have something to do with using TransactionGroup and assimilating it, but I'm not 100% sure.

 

It happens with some of my commands, not all I guess. Have anyone experienced anything like this? Any hints on what may be causing it and what should avoid in my code to prevent that?

0 Likes
246 Views
0 Replies
Replies (0)