Hey all,
I am copying the topic from another forum of a friend of mine here because we work on the same project. I hope someone can help us.
I’m really puzzled by this, it’s not necessarily a scripting question, but it’s a problem that prevents a script from working on multiple installs.
Problem: the material editor window width seems to differ randomly (probably not, but seems so) between different max installs on different computers. Some computers will have a wider editor on one Max install but a smaller one on another. Another PC has a smaller window than the other computer with the exact same max version…
the setting I’m talking about is the X-dimensions of the Compact material editor. You can check it in the 3DS Max.ini, under [MtlEditorPosition] is MainWindow= xposition yposition xsize ysize. The only relevant number is xsize, as you can move the window freely and rescale it freely in height (ysize). The X-size however, is locked from user interaction…
The result is our script’s interface is cut off on many Max installs/pc’s, without any way of checking/fixing this. We’ve personally checked 4 pc’s, some have an xsize of 375, some are at 496, I’ve seen 367 pass by too.
Can anybody shed some light on this? Changing the ini doesn’t help, as it resets back to the previous value on startup.