For information about the structure of the tree, see the Tree Structure page.
The Tree Window can be accessed from the Toolbar by clicking the or from the View menu.
Navigating the Tree
To move around in the tree window, click the mouse on a blank area of the tree view and drag it around. You can also use the mouse wheel and page up/page down keys to scroll up and down in the tree window. You can also use the Tree Navigation panel from the Quick Properties, as described below, to jump around the Tree.
Quick Properties
When the tree window is active, the Quick Properties will change to display the Tree Navigation panel and the search panel. If a node is clicked on in the tree that does not have object data, the Node Properties panel will also be displayed in the Quick Properties. Clicking on nodes with Object data will display similar results as clicking on them in the 3D view.
Tree Navigation
This panel allows you to navigate between sections in the FlexSim tree.
- Model - A subset of the Main Tree, this contains all of the objects used in the currently open model.
- Main - The Main Tree contains many of the higher level functions in FlexSim.
- View - The View Tree contains all of the GUIs in the FlexSim interface.
You also have the option of saving views from the Tree. By highlighting a node in the Tree and pressing the that node will be added to the list of preset views. This allows you to quickly jump back and forth between different sections of the Tree. Select a view and click the to remove it from the list. will update the selected preset view to the highlighted node.
Views that are saved are persistent even after FlexSim closes. Views that are added from the Model get saved into the Tools/treenavigation folder and wil be available to anyone who loads that model. Views that are added from anywhere else in the Main Tree or from the View Tree are saved in the User Prefs and will be available whenever FlexSim is open under your user.
Rename the preset view by entering a new name in the name field.
Name Width - This controls the name width of nodes in the Tree.
search
The search allows you to search through text and node names in the Tree. The search will begin at the highlighted node in the active Tree Window. If no node is highlighted, the search will begin at the top of the active Tree Window. The search recursively searches through all subnodes and object attribute nodes.
replace allows you to replace all occurrences of the found text. This can be applied to text and/or node names.
- finds the specified text (or press the Enter key in the field).
- finds the above text and replaces it with the specified text (or press the Enter key in the field).
search text - searches through all text under the selected node.
Match Whole Word - If checked, only finds whole word matches of the text (meaning characters immediately before and after the search text must be non-alphabetic characters).
search names - searches through all node names under the selected node.
Match Whole Name - If unchecked, the search will return any node name that contains the searched text.
Match Case - If unchecked, the search will find all text/names containing the search text, regardless of capitalization. For example, if you search for "myvariablename", the results will still return all nodes containing "MyVariableName".
Once a search is begun, the find Results window will appear:
Double-click on a result to view the text in a Code Editor window. You may also right click the result to Edit Code or Explore Tree.
Nodes toggled as FlexScript will have an S to the left of the node path. Nodes toggled as C++ will display a C and nodes toggled as DLL linked will display a D.
Node Properties
When a non-object node is highlighted in the Tree, the Node Properties panel will appear,displaying the name and rank of the node. If the node has coupling data, the Data field will display the coupling's associated node. Use the to select the node to create a coupling with.
- This will display a menu of possible object attribute names. This is a shorted and organized list taken from the Attribute Hints window.
Clear Contents - Destroys all subnodes of the highlighted node.
Execute Node - Calls nodefunction or executefsnode on the node, executing its associated FlexScript, C++ or DLL code.
Rank - This specifies the rank of the highlighted node in its parent's tree. Enter a new rank number or use the up and down arrows to rerank the node.