hi @Dale,
Remember this fix to display mode methods?
https://mcneel.myjetbrains.com/youtrack/issue/RH-51112
Since the fix, the method become VERY slow to use. It is fine to change a few properties, but anything more is painfully slow. We have several tools, and a few more that I am working on, that modify a lot of properties on the go, for several display modes, and they became unusable as they freeze the system for a while.
My guess is it has to do with some internal settings update introduced to make the fix. Before the fix, the change of even 100s of properties was a blast/unnoticeable. Can the performance be improved?
Or perhaps keep the original fast way and provide another method to “update” the changes in one go, and not each time the method is called ?
Here is a sample script to demonstrate (it turns off all non-mesh/surface elements in all display modes, and then restores them):
SlowDisplayModeChanges_Example.rvb (9.5 KB)
–jarek