Specifications

52
What you see here is the Model Tree, which it the main tree view of AnyBody showing all objects in the
loaded model in the structure they are created in the AnyScript code. The Model Tree is in principle available
in many of AnyBody's windows, but some of the information is filtered out in some window types to make
the tree view practical for specific purposes such as browsing output or operations in the model.
The Editor windows have the complete unfiltered Model Tree, and they can take up a significant space in the
Editor window. Therefore, they are by default collapsed to maximize the space for editing and an unfiltered
Model Tree is also available on the Main Frame, which is sufficient for most purposes. Multiple Model Trees
can, however, be handy when working with large models and browsing for information in different places of
the structure; this is the reasons for having the option of opening a Model Tree in the Editor windows.
Moreover, the Model Trees in the Editor have to options for interaction with the code of the particular Editor
Window, which is not available from the Main Frame Model Tree. You can collapse the tree again after
opening it by clicking the X tab on the left hand side of the tree.
We shall not go into details about the functionality in the Model Tree, but notice that right-clicking an object
in the Model Tree give you access to these functions. There are two categories of these functions:
1. Interaction with the AnyScript code such as inserting object name into the code at the place of the
cursor
2. Class Operations that are operations associated with the AnyScript classes. These cannot be
explained in detail here because the follow the classes, but there are a couple of very basic Class
Operation that is available to all objects.
In particular notice the Class Operation called Object Description that comprise much practical information
for the given object, including the Documentation Comments made by the AnyScript programmer making
the model. The Object Description is very useful when browsing the model because it contains active links,
which for instance can bring you to the code with single click. The Object Description is considered to be the
most fundamental operation in the Model Tree so it will be activated when you double-click any node in the
tree.