Is it possible to create a new instance of an Anylogic animation without actually creating a user interface (i.e. having
no new window open). Specifically we would like to communicate with a running simulation from within a different
program. We can create a standalone application and run it from the command line with the "java" command, but
a window appears and our access to the simulation from outside is unclear. Any thoughts? Thanks.
Pavel — 16.04.08
AnyLogic Advanced allows you to export and use model only as Java applet. According to our license policy you must not
use running simulation in pare with a different program. It is forbidden by chapter 6 of the license agreement.
Walker — 16.04.08
True Pavel,
But I have said nothing about Anylogic Advanced. Please see page 3 of the Professional License Agreement, which allows
the creation of standalone applications. The anylogic website contains the following discussion:
Title Is it possible to use an AnyLogic model as a part of my Java application?
Solution Since AnyLogic model is a Java application itself, it could be used as standalone application or within any
other Java application.
For this purpose, AnyLogic 6 Professional has a special feature allowing a user to export a model as a jar file. To
export a model, select it in the Tree view, press the right mouse button, and select the Export option in the context
menu, then follow the instructions of the wizard.
In AnyLogic 6 Advanced, this option is not available and stand-alone model usage is prohibited by the License
Agreement. A model can be used as a Java Applet in the both AnyLogic 6 editions.
Therefore it is possible and allowed to use the model in conjunction with another program. But this still leaves my
original question unanswered. Thanks.
Sergey Suslov — 17.04.08
Hi Brett! Glad to hear you!
Integration is evidently prohibited by the license agreement, please see the license agreement: chapter 6c - advanced,
chapter 5c - professional. We have corrected the text on our site, it was not up to date (it was written long ago from
the AnyLogic Professional release date). Please find the corrected articles - they should describe licensing policy:
http://www.xjtek.com/support/kb/?id=35
http://www.xjtek.com/support/kb/?id=95
Best, Sergey