Created
January 5, 2022 02:08
-
-
Save yamadaaaaaaa/656fcb7b6093e683fcebec190f467304 to your computer and use it in GitHub Desktop.
link_timeSlider_maya.py
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.cmds as cmds | |
| import maya.mel as mel | |
| def link_test(*args): | |
| print(1) | |
| _gPlayBackSlider = mel.eval("string $_gPlayBackSlider = $gPlayBackSlider;") | |
| cmds.timeControl(_gPlayBackSlider,e=True,releaseCommand=link_test) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment