Customization > Automation Interface > Functions > For System Simulations > Animation Functions > EnableAnimation function (automation interface)
  
EnableAnimation function (automation interface)
Syntax:
EnableAnimation
Enables animation in Modeler.