• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Part: V Appendix > What Is a Script Node?

What Is a Script Node?

Have you ever wondered how Maya remembers your UI settings on a per-file basis? When you open one file, the Multilister might load, and when you open another file, the Graph Editor might be open. Maya accomplishes this by storing this information in MEL, inside a completely editable node called a script node. A script node is actually a type of expression, although it is not an expression because it is not evaluated at every frame. Instead, a script node can be evaluated as soon as you open the file that contains it. This gives you an easy and safe way to embed whatever MEL code your heart desires directly into the file that the code is appropriate to execute with. This works especially well for character UI scripts.

A character UI is the type of script that you simply don't want to have to explain to the user: how to source it, where to source it from, how to execute the procedure, how to keep the script versions updated, and so on. It's all a really messy hassle and can be completely solved by embedding your supercool character UI directly into a script node.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint