User manual
  Dymola 2015 FD01 Release Notes  23 
New commands 
A number of new commands (built-in functions) have been added, for example to support 
the report generator: 
clearPlot 
clearPlot(id=0) 
Erase curves and annotations in the diagram. Id is identity of window (0 means last). 
exportAnimation 
exportAnimation(path, width=-1, height=-1) 
Exports an animation to file. Supported file formats are AVI, VRML, and X3D. The file 
format is determined by the file extension. Use wrl as file extension for VRML. 
If there is more than one animation window, the last window is used. 
width and height are only applicable for X3D files. 
exportDiagram 
exportDiagram(path, width=400, height=400, trim=true) 
Export the diagram layer to a file. Supported file formats are PNG and SVG. The file format 
is determined by the file extension. To export in SVG, the diagram layer must exist. 
exportDocumentation 
exportDocumentation(path, className) 
Export the documentation for a model to an HTML file. 










