Where does it store the *.cui path

Hey,
I am writing something to easily port all UI stuff from one max install to another. I found out that the current .kbd, .mnu and .clr files which are loaded at max startup are stored as pathnames in the 3dsmax.ini at e.g.:
C:\Users\YourName\AppData\Local\Autodesk\3dsMaxDesign\2012 - 64bit\enu\UI

So I can get and set those values easily. Anyway, there is the .cui file that is missing in the ini. It is used to save toolbars and quads, so kinda most important. Does one of you guys know where the current .cui filepath is stored to? I dont mean the file itself, I just want to tell 3ds Max to load the new copied .cui file, that my script creates, at startup (e.g. by creating an ini setting)

Cheers

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Anubis's picture

Hi Br0t

Usually the .cui files s'd be there (\enu\ui) but the user can save them anywhere he like, so no fixed location. To load your .cui just: maxOps.loadCUIFile "MyCUI.cui" or cui.setConfigFile "MyCUI.cui"

my recent MAXScripts RSS (archive here)

br0t's picture

Hey thanks. I got similar

Hey thanks. I got similar response on cgtalk, and I somehow had to realize that I am wasting my time^^ saving a UI scheme and loading that manually on a fresh max install is actually pretty fast enough. Learned some stuff about DOSCommand on the way, so still worth it ;)

Never get low & slow & out of ideas

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.