Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 344 Bytes

File metadata and controls

18 lines (15 loc) · 344 Bytes

madTools - Templates

One Command Tool

import maya.cmds as cmds
from madtools.utils.selection import get_selection

def tool_name():
    """
    Short description of the tool
    Using MEL: <command + flags>
    """

    selection = get_selection("Operation")
    if selection:
        # Command here
        # cmds.command()