variety of scripts and tools to speedup animation workflow in maya
Place as_maya_tools in your maya scripts folder. run any of the below python commands to use the script or tool. If you want to use a tool in a marking menu or run it through mel for any reason, wrap the command with the mel command python("") example:
python("from as_maya_tools.animation import attributes;attributes.reset_transforms()")
See mel documentation for more information on the python() command https://help.autodesk.com/cloudhelp/2024/ENU/Maya-Tech-Docs/Commands/python.html
If you need help with anything you can send an email to alex.animationtd@gmail.com
Ui for switching attributes while maintaining the objects transform position. Also knows as a spaceswitch tool
from as_maya_tools.interface import space_switcher_ui;space_switcher_ui_instance = space_switcher_ui.SpaceSwitcherUI.load_ui()
Ui for generating noise on attributes selected in the main channel box across keyframes selected in the timeline
from as_maya_tools.interface import noise_settings_ui;noise_settings_ui_instance = noise_settings_ui.NoiseGenerationSettingsUI.load_ui()
Ui for creating and managing jiggle rigs. jiggle rigs can be attached to any transformable or rotatable transform node.
from as_maya_tools.interface import jiggle_manager_ui;jiggle_manager_ui_instance = jiggle_manager_ui.JiggleRigsManagerUI.load_ui()
Copy and paste keyframes UI. You can copy and paste keyframes from 1 maya session to another using a variety of options
from as_maya_tools.interface import copy_paste_keyframe_ui;copy_paste_keyframe_ui_instance = copy_paste_keyframe_ui.CopyPasteKeyframesUI.load_ui()
Create and manage selection sets. You can organize your selection sets into folders. Selection sets are stored as .JSON files so they are easily shared
from as_maya_tools.interface import selection_set_manager_ui;selection_set_manager_ui_instance = selection_set_manager_ui.SelectionSetManagerUI.load_ui()
Set transforms on selected objects to default value
from as_maya_tools.animation import attributes;attributes.reset_transforms()
Set translation on selected objects to default value
from as_maya_tools.animation import attributes;attributes.reset_translation()
Set rotation on selected objects to default value
from as_maya_tools.animation import attributes;attributes.reset_rotation()
Set scale on selected objects to default value
from as_maya_tools.animation import attributes;attributes.reset_scale()
Set attributes selected in the channelbox to default value
from as_maya_tools.animation import attributes;attributes.reset_selected_attributes()
Create a motion trail for selected objects. Motion trail will be made visible even if isolate is on in viewport
Toggle visibility of motion trails
from as_maya_tools.animation import motion_trails;motion_trails.toggle_visibility()
Select all motion trails in the scene
from as_maya_tools.animation import motion_trails;motion_trails.select()
Delete all motion trails in the scene
from as_maya_tools.animation import motion_trails;motion_trails.delete()
Create locator(s) on selected object(s)
from as_maya_tools.animation import quick_scripts;quick_scripts.create_locator_at_selected()
Lock selected object(s) in place
from as_maya_tools.animation import quick_scripts;quick_scripts.lock_selected_in_place()
attach a locator to the selected transform or vertex
from as_maya_tools.animation import quick_scripts;quick_scripts.attach_locator_to_selection()
Snap first selection to second selection
from as_maya_tools.animation import snapping;snapping.snap_a_to_b()
Set the adjustable playback slider min-max value to the highlighted frame range
from as_maya_tools.animation import timeline;timeline.set_playbackslider_to_selected_keys()
UI for managing selection settings
from as_maya_tools.interface import rig_selection_settings_ui;rig_selection_settings_ui_instance = rig_selection_settings_ui.RigSelectionSettingsUI.load_ui()
Select all controls on a rig. Requires rig context definition .json file
from as_maya_tools.animation import rig_selection;rig_selection.select_all()
Select controls on the opposing side of a rig. Requires rig context definition .json file
from as_maya_tools.animation import rig_selection;rig_selection.select_mirror()
:param bool add: option to keep original selection when selecting mirrored controls. default is false
Select set of controls the current selection belongs to. Requires rig context definition .json file
from as_maya_tools.animation import rig_selection;rig_selection.select_set()
Create an overwritable selection set
from as_maya_tools.animation import rig_selection;rig_selection.create_temp_selection_set()
The tool will use any and all namespaces in the current selection. If nothing is selected, the stored namespace will be used. nodes in the selection set without a namespace will be added either way
from as_maya_tools.animation import rig_selection;rig_selection.select_temp_selection_set()