Digging the thread up again! This time, it's about executing MEL scripts on startup. I have a bunch of MEL scripts in "My Documents/maya/scripts" (which the Maya Help tells me is one of the default directories for scripts). These scripts have global procedures defined in them, but it doesn't seem like they're getting…
Ah, so every MEL file I want it to auto-load should be called in the userSetup.mel ? I would have thought it'd just automatically grab all scripts at startup (something like Max's "scripts/startup" folder, which seems like an easier way to do it than having to keep a separate .mel file up to date). Also, is it necessary to…
It's because the script still selects the shape-node of the hidden objects. (You can see that if you activate "show Shapes" in the outliner) I'm sure that can be fixed in the script, but I'm really bad at MEL.
As I followed this thread, found myself recap many part I had learned but fading away from my memory since I switched to max. It'd be great reference for me re-learning MEL as well.
Yeah I figured I'd have to script it, good to know there's a command with the right values in there already though. If you can do a popup box like Max's one in the screenshot there (Dimensions X Y Z are all I'm really interested in, not surface area etc.), that'd be awesome! I guess I might try it myself to learn some MEL…
[ QUOTE ] This also means that you can hotkey any mel script/command. [/ QUOTE ] Yep, I'm well aware of this, you can do the same in Max I've already scripted a few things for context-sensitive hotkeys. I guess I'll have to start learning the more complex stuff too. I looked into CPS but it does seem quite out of date and…
hmmmm..... Been struggling to get anything workable together, I came up with : - string $objectList[] = `ls -o`; select -visible $objectList ; FrameSelected; fitPanel -selected; which works, but only with objects that are hidden via CTRL + H, the script stores a list of all objects within the scene, then it filters them by…
For say right, since I use Maya I bagan to learn Mel script... Because maya suck for lot of reasons... (has good snap tools but...) So, about move objects in absolute world, you have some Mel script commands.. then for move all your selection in absolute position : <font class="small">Code:</font><hr /><pre>float…
Hi, Paul The Bonus Games Tools are available from the AREA website at Autodesk.Com, must be registered on the site to download them : - http://area.autodesk.com/index.php/downloads_plugins/plugin_detail/bonus_tools_for_maya_2008_win32/ Heavily recommend them, there's a a bunch of very useful tools within the package. To…