grisel360
Mechanical
- Nov 1, 2011
- 7
Hello everyone
I recall from VBA there is an option to avoid these screen changes while a macro's being executed. Application.ScreenUpdating = False
Then after macro is done you do Application.ScreenUpdating = true again.
This also enhances a bit the performance (time reduction).
I wish to know if there is something similar for CATIA on C#.NET.
I tried with SuspendLayout(); and ResumeLayout();
also with catia.RefreshDisplay = false ... but no luck with any of those.
The code starts on drawing A
1. Opens a drawing B and copies an specific detail on specific sheet
3. Paste in drawing A background
4. Closes drawing B
I dont want the user sees screen changes, just run this on the back
Thank you all in advance.
I recall from VBA there is an option to avoid these screen changes while a macro's being executed. Application.ScreenUpdating = False
Then after macro is done you do Application.ScreenUpdating = true again.
This also enhances a bit the performance (time reduction).
I wish to know if there is something similar for CATIA on C#.NET.
I tried with SuspendLayout(); and ResumeLayout();
also with catia.RefreshDisplay = false ... but no luck with any of those.
The code starts on drawing A
1. Opens a drawing B and copies an specific detail on specific sheet
3. Paste in drawing A background
4. Closes drawing B
I dont want the user sees screen changes, just run this on the back
Thank you all in advance.