ジャンプ先: 概要. 戻り値. フラグ. Python 例.
playblast(
filename
, [activeEditor=boolean], [cameraSetup=[string, string]], [clearCache=boolean], [codecOptions=boolean], [combineSound=boolean], [completeFilename=string], [compression=string], [editorPanelName=string], [endTime=time], [exposure=float], [filename=string], [forceOverwrite=boolean], [format=string], [frame=time], [framePadding=int], [gamma=float], [height=int], [indexFromZero=boolean], [offScreen=boolean], [offScreenViewportUpdate=boolean], [options=boolean], [partialSave=boolean], [percent=int], [quality=int], [rawFrameNumbers=boolean], [replaceAudioOnly=boolean], [replaceEndTime=time], [replaceFilename=string], [replaceStartTime=time], [sequenceTime=boolean], [showOrnaments=boolean], [sound=string], [startTime=time], [throwOnError=boolean], [useTraxSounds=boolean], [viewer=boolean], [width=int], [widthHeight=[int, int]])
注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。
playblast は、取り消し可能、照会不可能、および編集不可能です。
現在の再生範囲をプレイブラストします。サウンドはオプションです。 プレイブラスト コマンドは、プレイブラストが発生しているかどうかをユーザがモニタできるように、「playblasting」という条件を登録します。この条件は、API (MConditionMessage)またはスクリプト(scriptJob と条件コマンド)を使用してモニタできます。string | 作成される moviefile の名前。 |
ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
activeEditor(ae)
|
boolean
|
![]() |
||||||||||||||||||
|
||||||||||||||||||||
cameraSetup(cs)
|
[string, string]
|
![]() ![]() |
||||||||||||||||||
|
||||||||||||||||||||
clearCache(cc)
|
boolean
|
![]() |
||||||||||||||||||
|
||||||||||||||||||||
codecOptions(co)
|
boolean
|
![]() |
||||||||||||||||||
|
||||||||||||||||||||
combineSound(csd)
|
boolean
|
![]() |
||||||||||||||||||
|
||||||||||||||||||||
completeFilename(cf)
|
string
|
![]() |
||||||||||||||||||
|
||||||||||||||||||||
compression(c)
|
string
|
![]() |
||||||||||||||||||
|
||||||||||||||||||||
editorPanelName(epn)
|
string
|
![]() |
||||||||||||||||||
|
||||||||||||||||||||
endTime(et)
|
time
|
![]() |
||||||||||||||||||
|
||||||||||||||||||||
exposure(exp)
|
float
|
![]() |
||||||||||||||||||
|
||||||||||||||||||||
filename(f)
|
string
|
![]() |
||||||||||||||||||
|
||||||||||||||||||||
forceOverwrite(fo)
|
boolean
|
![]() |
||||||||||||||||||
|
||||||||||||||||||||
format(fmt)
|
string
|
![]() |
||||||||||||||||||
|
||||||||||||||||||||
frame(fr)
|
time
|
![]() ![]() |
||||||||||||||||||
|
||||||||||||||||||||
framePadding(fp)
|
int
|
![]() |
||||||||||||||||||
|
||||||||||||||||||||
gamma(g)
|
float
|
![]() |
||||||||||||||||||
|
||||||||||||||||||||
height(h)
|
int
|
![]() |
||||||||||||||||||
|
||||||||||||||||||||
indexFromZero(ifz)
|
boolean
|
![]() |
||||||||||||||||||
|
||||||||||||||||||||
offScreen(os)
|
boolean
|
![]() |
||||||||||||||||||
|
||||||||||||||||||||
offScreenViewportUpdate(osv)
|
boolean
|
![]() |
||||||||||||||||||
|
||||||||||||||||||||
options(o)
|
boolean
|
![]() |
||||||||||||||||||
|
||||||||||||||||||||
partialSave(ps) 2026
|
boolean
|
![]() |
||||||||||||||||||
|
||||||||||||||||||||
percent(p)
|
int
|
![]() |
||||||||||||||||||
|
||||||||||||||||||||
quality(qlt)
|
int
|
![]() |
||||||||||||||||||
|
||||||||||||||||||||
rawFrameNumbers(rfn)
|
boolean
|
![]() |
||||||||||||||||||
|
||||||||||||||||||||
replaceAudioOnly(rao)
|
boolean
|
![]() |
||||||||||||||||||
|
||||||||||||||||||||
replaceEndTime(ret)
|
time
|
![]() |
||||||||||||||||||
|
||||||||||||||||||||
replaceFilename(rf)
|
string
|
![]() |
||||||||||||||||||
|
||||||||||||||||||||
replaceStartTime(rst)
|
time
|
![]() |
||||||||||||||||||
|
||||||||||||||||||||
sequenceTime(sqt)
|
boolean
|
![]() |
||||||||||||||||||
|
||||||||||||||||||||
showOrnaments(orn)
|
boolean
|
![]() |
||||||||||||||||||
|
||||||||||||||||||||
sound(s)
|
string
|
![]() |
||||||||||||||||||
|
||||||||||||||||||||
startTime(st)
|
time
|
![]() |
||||||||||||||||||
|
||||||||||||||||||||
throwOnError(toe)
|
boolean
|
![]() |
||||||||||||||||||
|
||||||||||||||||||||
useTraxSounds(uts)
|
boolean
|
![]() |
||||||||||||||||||
|
||||||||||||||||||||
viewer(v)
|
boolean
|
![]() |
||||||||||||||||||
|
||||||||||||||||||||
width(w)
|
int
|
![]() |
||||||||||||||||||
|
||||||||||||||||||||
widthHeight(wh)
|
[int, int]
|
![]() |
||||||||||||||||||
|
![]() |
![]() |
![]() |
![]() |
import maya.cmds as cmds # Run movieplayer on the currently playblasted range # (including sound) and save the movie to a file. # cmds.playblast( s="ohNo", f="myMovie.mv" ) # Run movieplayer on the currently playblasted range # (at 60% of the size of the current view), and # save the movie to file "myMovie.mv" and don't # launch any viewing program. # cmds.playblast( p=60, s="ohNo", f="myMovie.mv", v=False ) # Output frames 2, 3, 8 as images and launch the viewer; # cmds.playblast( frame=[8,3,2], format="image", viewer=True ) # Output an image sequence in 'gif' format # cmds.playblast( format="image", compression="gif" ) # Output depth with image in 'iff' format # cmds.playblast( format="image", compression="maya", saveDepth=True )