This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import maya.OpenMaya as om | |
| import maya.cmds as mc | |
| import uuid | |
| def get_name(node): | |
| """Get the long name from the MObject where appropriate""" | |
| if node.hasFn(om.MFn.kDagNode): | |
| return om.MFnDagNode(node).fullPathName() | |
| else: | |
| return om.MFnDependencyNode(node).name() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ''' | |
| timeDragger 1.0 | |
| 29/03/2015 | |
| Tom Bailey | |
| ''' | |
| import maya.cmds as cmds | |
| import maya.mel as mel | |
| ''' |