LC #42 Pipers Alley

View Full Version : Where does it store the *.cui path

06-30-2011, 09:16 AM
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)


06-30-2011, 10:02 AM
hi, you can have the cui file path using ( cui.getConfigFile() )
you use colorman interface for retrieve color file ( colorman.getColorFile() )
hope this help

06-30-2011, 11:14 AM
just check this


more from this in the maxscript docs,topicNumber=d28e653512

06-30-2011, 12:40 PM
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 :D as often! learned some things anyway, so no waste

CGTalk Moderation
06-30-2011, 12:40 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.