How this error is corrected, "Display Mode

OK, that’s pretty informative. There appear to be two display modes that are causing problems - the display mode description returns “None” which means that the function failed to get a name for those two modes. I don’t know what they are, but they are in your list between “X-Ray” and “Auxpecker rendered”.

I will add some error checking to this and see if I can make it work better and ignore the bad entries - but I am having trouble with the non-standard display modes now, so I don’t really know how reliable I can make it…

Edit @vikthor : OK, here is a re-write of the script with an attempt to eliminate the above-mentioned errors - give it a shot and let me know if it works any better.

SetObjDisplayModeAllViewports.py (1.8 KB)

As far as the Auxpecker nag screen goes, I know nothing about that…

–Mitch