1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Maya Python Timelineを変更する

Posted at

MayaでTimelineを変更する

GUI

Windowの一番したのTimeLineの数値を変更する
160405_mayaFrame_001.png

Python

Reference

playbackOptions

python

playbackOptionsSample.py

import maya.cmds

# Get Info
animStart = cmds.playbackOptions(query=True,animationStartTime=True)
animEnd = cmds.playbackOptions(query=True,animationEndTime=True) 

min = cmds.playbackOptions(query=True,min=True) 
max = cmds.playbackOptions(query=True,max=True) 

print animStart
print animEnd
print min 
print max

# Set Info
cmds.playbackOptions( ast='1', aet='4', min='1', max='4' )

参照

Output Maya Animation Data to .csv file

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?