Autodesk maya script
Saves the selected text to a text file. Adds a button to the current shelf which executes the selected text. The edit menu includes standard editing commands and their associated hotkeys: Undo , Redo , Cut , Copy , Paste , and Select All , as well as the following commands:. Goes to the specified line number. Opens a search dialog where you can search for a string and replace it with a different string. You can choose the search direction and choose whether your search is case-sensitive.
You can indent or clear the indent of selected text. Clears the history pane. Clears the input pane. Clears both the history and input panes. Shows batch rendering messages in the Script Editor.
Shows line numbers in errors. Opens another window which lists errors and their line numbers in external script files. This is very useful for debugging scripts in external files. When turned on, the Script editor does not show the result of commands. When turned on, the Script Editor does not show informational messages. When turned on, the Script Editor does not show warning messages.
When turned on, the Script Editor does not show error messages. Suppressing Script editor messages does not suppress messages from appearing in the Help Line. Disable this option so that a warning is generated when a MEL variable is declared within the same scope as another variable with the same name. In general, the warning indicates an error in the script. The default state for this option is on. Warnings are generated when a script is sourced, not when it is executed. See the following for examples of scope:.
A dialog appears asking you to select the language of your script. After selecting the language, an icon representing your custom script is now added to the Shelf. You can use this editor to customize your new Shelf addition. For example, customize the icon in the Shelves tab, or modify your command in the Command tab.
In addition to performing an action through the Maya interface and examining the result that is printed in the top pane of the Script Editor , you can also query the names of attributes in the following ways:.
For example, enter the following in the Script Editor :. The following result is printed in the top pane:. The following command returns a lot more attributes, such as rotateX , scaleX , and so forth:.
This is the node that contains the attributes used to transform an object. If listAttr returns too many attributes, making the text difficult to read, you can also find the attributes in the nodes documentation. In the Technical Documentation, Nodes section, navigate to transform , for example, to access the transform node documentation, or geometryShape to access the shape node documentation. On this page, you will find the names of the attributes that you can modify in your script.
Updated UTC. Minesweeper for Maya Play minesweeper inside Maya! Rename Tool for Maya 3ds Max's rename tool for Maya. Rating: 4. The Jennifer Conley Script was just translated into Python 3.
Mimic: Industrial Robot Animation and Control for Maya Animate 6-axis industrial robot arms and generate usable robot control programs for real machines. Very easy to use. MenuEditor for Maya You can easily create menus for any objects in a scene! Very simple and powerfull! Works in all Maya versions. It can reset the transition values, so that the object is saved at the grid, which will be easier to identify and manage, while importing to a new scene.
Copy SkinWeight Tools for Maya can be used to copy skinCluster from one object to many objects at once. LookdevTools V1. Added UTC. Automatic preset shading network setup with options for searching for files according to predefined naming conventions. Comes with presets for Redshift, Arnold, and the standard lambert shader, but documentation is included on how to define your own presets for your preferred rendering engine!
Deformers Weights Editor for Maya Edit paintable deformers weights. Recall that this command was also listed in the Script Editor history. To learn more, see defaultRunTimeCommands. Browsing through the script reveals that this is the command that is executed : polySubdivideFacet Recall that this command was also listed in the Script Editor history. Note: When writing your own script, if you want your script to extend beyond the behavior of the menu item, you must use MEL procedures or the MEL commands instead of runtime commands.
Topics in this section Obtain the transform, shape, and history nodes Modify attributes with scripts Query the name of a tool Save your script and call a procedure from your script Query the type of a node.
0コメント