Maya Collection

Version: 
1.6
Type: 
Maya script
Language: 
Python
Description: 
Various small functions
Information: 

While i work with Maya i use lots of little scripts and tools that make life much easier. Over the years i built up a collection of some self-written functions. When Python support was added i translated all scripts from MEL to it. All tools that consist of only one Python function are put together in this collection. The script contains the following:

  • Active Cam
    • Returns the name of the active camera as a string.
  • Active Cam Attrs
    • Returns the position and the orientation of the active camera as a tuple.
  • Base Pivot
    • Centers the pivot of the selection and moves it along the z-axis to its lowest point.
  • Delete Light Linkers
    • Deletes all active light linkings as well as orphaned linkers.
  • Make Styro
    • Creates a plane with a material assigned to it which acts like a styrofoam in real lighting.
  • Negate Attribute
    • Negates every numeric attribute that is selected in the channel box.
  • New Display Layer
    • Batch creates and sets up display layers for selected nodes.
  • polySphube
    • Creates a smoothed polyCube.

My contribution to this work:

  • idea
  • source code

The software that was used:

  • Maxya Pro
  • Python IDLE
  • NetBeans IDE

More information:
SFL Maya Plug-in