def currentTime(*args, **kwargs): """ Modifications: - if no args are provided, the command returns the current time """ if not args and not kwargs: return cmds.currentTime(q=1) else: return cmds.currentTime(*args, **kwargs)
def currentTime( *args, **kwargs ): """ Modifications: - if no args are provided, the command returns the current time """ if not args and not kwargs: return cmds.currentTime(q=1) else: return cmds.currentTime(*args, **kwargs)
def setTime(self, val): cmds.currentTime(val)
def getTime(self): return cmds.currentTime(q=1)
def setCurrentTime( time ): """set the current time """ return cmds.currentTime(time)
def getCurrentTime(): """get the current time as a float""" return cmds.currentTime(q=1)