Example #1
0
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)
Example #3
0
 def setTime(self, val):
     cmds.currentTime(val)
Example #4
0
 def getTime(self):
     return cmds.currentTime(q=1)
Example #5
0
def setCurrentTime( time ):
    """set the current time """
    return cmds.currentTime(time)
Example #6
0
def getCurrentTime():
    """get the current time as a float"""
    return cmds.currentTime(q=1)
Example #7
0
 def setTime(self, val):
     cmds.currentTime(val)
Example #8
0
 def getTime(self):
     return cmds.currentTime(q=1)