The idea is to have your script create a script and then run it. I do this pretty often with Custom Attributes. I'm not really sure how to explain better than that, but here's another example script that uses a spinner to generate the specified number of buttons. http://dl.dropbox.com/u/2904948/Tutorials/DynamicUISpinner.ms
I tried both typing "Roadkill" and "roadkill" and have the script installed both in C:\Documents and Settings\Administrator\My Documents\maya\2009-x64\scripts and C:\Documents and Settings\Administrator\My Documents\maya\scripts... I'm running Maya 2009 x64 btw... Any other suggestions?
I'm trying to create a script that will take a random selection of objects, and organize them into 3 "piles" it should be fairly simple, and I'm sure I'm just about there... but when I try to execute it I get an error message, it reads: "//Error: No object matches name: " Anyone have an idea what's wrong? This is only my…
Eh all, So, my knowledge with mel scripting is very limited but I figured out the basics of the script at the bottom of this link http://ndhaussy.free.fr/maya_object_spreading/ where Nicolas shows how to spread using constraints. So I type the command spreadObjectsOnSurface ("objectB", "objectA", 20) and it works as…
I've been actively coding again, writing tools for my students and fellow professionals and have several new FREE scripts for Maya that I think people will find useful, if not fun. I will post separately for each script, apologies in advance if this looks like spam, it's not. Tools aren't any good if they aren't being used…
Hey guys, I'm curious if anyone has experienced this problem I'm having right now. I'm really novice to scripting, I'm hoping there's something really obvious that I'm missing. I'll try to start by explaining the new problem I'm having, and then the original thought process for my solution. The new problem: The script I…
hello! I need a script to save and then load explicit normals for selected objects. so the process is like this: * select object * press button to export normals into a file. normals saved along with object name * deselect/object again * press a button to read saved file. script sees the name in the file and if this name…
I was wondering if anyone knew of a Maya script/technique for duplicating a plane along points on a CV curve/spline. I know there is a way but I haven't messed around with it enough to figure one out... besides writing a .mel script or the old school way of creating an animation sweep and freezing it. I've just been…
Hello all, I have been trying to find this through google and have had no luck in getting a working script. I would like a script that does the following: -Enters edge selection mode on the selected object (if it is not already active) -Selects all the hard edges -Any selection constraints are then reset back to normal…
Programming and Scripting, are different IMO. If you brother wants to sit down and develop a program or make major edits to an engine, learn C++. Like others have already said, it will be trivial to jump to another language. If he wants to be more on the tech artist side rather than full blown programmer, then C# and…