Notifications
Clear all

[Closed] 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

3 Replies

hi, you can have the cui file path using ( [size=1]cui.getConfigFile() )[/size]
you use colorman interface for retrieve color file ( colorman.getColorFile() )
hope this help

great, thanks! It seems modifying the INI file is not that good of an idea. It only includes paths for .kbd, .mnu and .clr, but not for .cui, .qop and .bpr files. Also for some strange reason, the .kbd file does not seem to get updated in max if I change the path inside the INI. And using UI schemes, which I somehow overlooked before, I am not sure if what I try to do is worth the effort as often! learned some things anyway, so no waste
cheers