Model/Reload

使用法

reload (file="string", output_prefix)

属性

file
文字列
シミュレーション状態の復元元のファイルを指定します。これは適切なファイル名とし、事前に“保存”されたデータを含める必要があります。
output_prefix
文字列
MotionSolve出力ファイルで使用される出力接頭辞を指定します。

# Create a model
m = CreateStewartPlatform (output="Stewart-Platform")

# Reload the simulation state at t=1.77
m.reload (file="Stewart-Platform-1.77")

# Continue the simulation to 2 seconds
m.simulate (type="DYNAMICS", end=2, dtout=0.01, returnResults=True)