Remove QuadMenu items with the MaxScript
There are two Corona items in the QuadMenu permanently - once removed it coming back on next 3ds Max start.
actionMan.executeAction 572340868 "7" -- Chaos Corona: Open Corona Converter
actionMan.executeAction 572340868 "6" -- Chaos Corona: Open Corona Proxy Exporter
Is there any way to have .ms in the scripts/statrup folder to remove both items from the QuadMenu on 3ds Max start?
Comments
looks like those tools are
looks like those tools are hardcoded in Corona installation as I removed all scripts from 3ds Max so entire QuadMedu is empty (all scripts not found), but two Corona Items are always at left-bottom quad. Renaming not helping either
both scripts found and deleted in Corona installation folder (C:\Program Files\Corona\Corona Renderer for 3ds Max\) however they are still in the QuadMenu
...
Try this:
If it works, put it in maxroot/scripts/startup folder
Tools and Scripts for Autodesk 3dsMax
that worked! thank you very
that worked!
thank you very much
.
Searching for something else I have found that in this folder:
maxRoot\scripts\Startup I have CoronaRenderer_InitScripts.ms which seems to handle the Corona QuadMenu entries you are interested to remove.
So, you can try the following:
- remove the script which deletes the Quad Menu entries
- run 3dsMax - the Quad Menu entries should appear
- open the CoronaRenderer_InitScripts.ms, find this addQuadMenuEntries() and add -- in front of it, so it has to look this way: -- addQuadMenuEntries(). Save the file
- run 3dsMax again. This time the Quad Menu entries should not appear.
Tools and Scripts for Autodesk 3dsMax
Check any of the scripts
Check any of the scripts startup folders, plugins folders for a ms. file which creates those two menus. If such a file exist just remove the lines which creates the menus.
For example, you can run grepWin to search for Open Corona Proxy Exporter in all 3dsMax folders(hidden also).
Tools and Scripts for Autodesk 3dsMax