[Closed] MS – Configure Modifier Sets Dialog
Hi,
I was looking into accessing the Configure Modifier Sets Dialog in Maxscript but I can’t find any way to access it, do you know a way ?
Thanks
Hi DenisT,
I would to access these two functions from the Modify Panel (more precise help page on autodesk) :
Display the current button set on the Modify panel:
[ul]
[li]Click (Configure Modifier Sets), and then choose Show Buttons to turn on this item. This item is a toggle. Choosing Show Buttons a second time turns off the button display, and so on. [/li]
[/ul]
Change from one button set to another:
[ul]
[li]Click (Configure Modifier Sets), and then choose the modifier set name from the lower part of the menu.[/li][/ul]
i know how Modifier Panel works. my question is – what do you want to do via mxs?
there is no special interface to manage modifiers sets via mxs, but all information about them stored in INI file.
ini = getMAXIniFile()
sets = getINIsetting ini #ModifierSets
for s in sets do format "% => %
" s (getINIsetting ini #ModifierSets s)
Oh thanks great denisT There is everything I need there.
I just wanted to switch from one modifier set to an other and to hide/show it I got it.
Thank you !
Hi again,
I found the 2 command I needed :
--get the max ini setting file
Modifiers_Set_ini = getMAXIniFile()
-- set the current Modifier Set displayed
setINIsetting Modifiers_Set_ini #ModifierSets "CurrentModSet" Set_number
-- set the visibility of the modifier sets
setINIsetting Modifiers_Set_ini #Modstack "Visible" Visibility_Value
The only unknown is if there is a way to force max to re-evaluate the ini setting file without restarting max ?
Thanks
there is way to force max ini reloading (at least i don’t know it). also i couldn’t find a way to do it with sdk. but the reloading of all ini settings is not a solution anyway.
I tried to find this to be able to toggle ‘compress on save’ ini option on for autosaves but I couldn’t find a way to make it happen.