Disable Screen Updating while running macro

Disable Screen Updating while running macro

Anonymous
Not applicable
416 Views
1 Reply
Message 1 of 2

Disable Screen Updating while running macro

Anonymous
Not applicable

Hello.

I've been running a Revit Macro which I programmed, that runs a numerous cycle of the copying function. This macro is running very slowly because the screen updates everytime the cycke runs, so I was wondering if there's anyway I could disable the auto-screen refreshing and then turn it back on after the macro is completed.
This came to mind beacuse there's a similar function in Excel which is something like "Application.ScreenUpdating = False".

Thank in advance!

0 Likes
417 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
I agree with Nuno. Disabling screen refresh would be a good thing.
0 Likes