Showing posts with label Tips. Show all posts
Showing posts with label Tips. Show all posts

Wednesday, 29 April 2015

How to use Python Scripts for Maya

We covered the basics for Max, here comes the same for Maya !
There are two main ways (there are many more, but the result's the same) of running scripts in Maya, whether they are MEL or Python.

Sunday, 26 April 2015

Change an attribute on multiple objetcs

That's something pretty common, you sometime want to change something on multiple objects, but 3dsMax doesn't support this through the interface. Generally you end up changing the parameter on each object... when you could write a single line of script that does it for you !

There's a very common keyword, in most programming languages, that goes through a collection of things (like the list of the selected objects): for

Saturday, 25 April 2015

How to use the MAXScripts !

Now for the little explanation on how to use the scripts that I'll post !
Most of them will be MaxScripts, so there are two possibilities:
  • .ms are plain scripts that do a certain action when you evaluate them, open through MAXScript -> Open Script and launch with Ctrl+E
  • .mcr are macroScripts, which can be dragged and dropped (one at a time) in the viewport and added to the UI from Customize->Customize User Interface. They'll appear in the category 'Vin'