dynCache()
注意: オブジェクト名や引数を表す文字列はカンマで区切ります。これは概要には示されていません。
dynCache は 「元に戻す」が可能、「照会」が不可能、「編集」が不可能 です。
カレント タイムで、すべてのパーティクル シェイプのカレント状態がキャッシュされます。なし
import maya.cmds as cmds
# Create an emitter and connect it to a particle shape
cmds.emitter(typ='omni', pos=(1, 1, 1), n='myEmitter')
cmds.particle(n='myParticles')
cmds.connectDynamic('myParticles', em='myEmitter')
# Cache all attributes of the particle shape at time 50
cmds.playbackOptions(min=0, max=50, ast=0, aet=100)
cmds.currentTime('0');
cmds.play(w=True)
cmds.dynCache()