Specifications
19
The new windows is basically a text editor. This main pane of the Editor window will contain the actual
AnyScript text. The system has already created the skeleton of a model for you from a built-in template.
The narrow pane attached to the left side of the Main Frame is a tree view pane, where you find hierarchical
representations of the model defined in the text window. If you are familiar with modern feature-based CAD
systems, this idea will be very familar to you. Almost the same tree views are available on the Editor
windows containing the AnyScript code, but they are closed by default. These additional tree views give you
the possibility to browse large models in several views at a time. The following tree views are available to
you:
• The Model Tree View shows all objects in the model. It is current
• The Operation Tree (only on the Main Frame) shows a subset of the model objects but in the same
structural ordering. The objects in this subset are so-called operations that are the things you can
do to the model. An operation can be selected in the Operation Tree and thereafter controlled by the
Run, Step, Reset, etc. buttons below (or on the Main Frame toolbar or the Operations menu). More
about operations will follow later.
• The File Tree shows all the files in a model. So far we will only be working with one file, the so-
called Main file.
On the Editor windows, you will additionally find some tree views that do not show the objects of the model,
but things available to you while modeling.
• The Class Tree shows all the classes in the AnyScript language and it can assist you in inserting the
code to create objects.
• The Global and Function Trees show the globally available elements, hereunder functions, in the
lanugauge.
So far the Model, the Operation and the File Trees are empty, because the model is not yet loaded into the
system. In the upper left corner of the editor you see the little icon
. This means "Script to Model".
When you click this icon, the system processes whatever text you have in the editor window and tries to
form a valid AnyBody model. The tree view gets generated and updated this way. A similar button is found










