I am trying to do a basic simulation by resetting the model, run the model and exit. The equivalent flexscript is
resetmodel();
runfunction();
cmdexit();
from the ref. page, those three should be enough. But when I tried it out on script console, I am getting "Not enough parameters in call to command runfunction". I tried with go(), but that would not block the script, thus existing the program immediately. thx