The Model Tree
Use the Model Tree to manage, navigate, and search your model. Click the Model Tree tab (
) in the MapleSim Palettes Pane to access the Model Tree.
The nodes in the model tree represent components, connection ports, probes, parameters, or attachments. What elements are visible and how they are organized depends on the model tree view you have set. To set a model tree view, select the view from the list below the Find text box. The following are the types of model tree views.
Attachments: Lists all documents attached to the model. Searches will find documents that match your search term.
Component Types: Organizes the model tree view according the the component type. Searches will find component and subsystem types that match your search term.
Components: Organizes the model tree view according to the Name of each component and subsystem. Searches will find components and subsystems that have names matching your search term. This is the default model tree view.
Connectors: Shows all of the connectors in your model. Useful for finding ports , such as for managing connections involving vector ports. For more about managing connections, see Using the Connections Manager.
Parameters: Organizes the model tree according to the parameter definitions from any of the following: parameter tables, parameter blocks, Modelica references, and To Variable components. Searches will find parameters that match your search term.
Probes: Shows all of the probes in your model organized by their Name. Searches will find probes that have names matching your search term.
The following figures show three model tree views for the 5 DoF Robot example model (found in the Help > Examples > Physical Domains > Multibody menu). The Components view shows all components and subsystems in its tree. The Parameters view shows the defined parameters and the elements where the parameters are used. The Attachments view shows the documents attached to the model.
Figure 1: Components View
Figure 2: Parameters View
Figure 3: Attachments View
General usage notes for the Model Tree palette
When you select a node, the Model Workspace view changes to show the corresponding modeling element, the element is highlighted in the Model Workspace, and the Properties tab (
) shows the parameters for that node.
Ctrl-click (Command-click for Mac) nodes in the model tree to select multiple elements. The Properties tab shows the common parameters for these nodes. Change a parameter in the Properties tab to change that parameter for all the selected components. For more information, see Specifying Parameters for Multiple Components.
If you double-click on a node or select one of its children, the view in the Model Workspace changes to the subsystem level of that node. This is the same as double-clicking on a component in the Model Workspace to view its contents.
Right-click (Control-click for Mac) a node to bring up its context-sensitive menu. Context menus differ slightly depending on the type of node. The following options are available for most nodes.
Collapse (only for nodes that contain other modeling elements)
For information about the other context menu options available, see the Finding Parameter References and Probes View pages.
To expand a node, click + for the node.
To collapse a node, click - for the node.
To collapse a node and all of its children, right-click (Control-click for Mac) on the node and then select Collapse.
The expanded/collapsed states for nodes are independent of view (that is, expanding a node in one view does not automatically expand the same node in another view). Also, the expanded/collapsed states are maintained when you switch between views.
If you collapse the Main node, all the nodes in the Main level of your model are collapsed. That is, the nodes do not collapse into the Main node.
Component Types View
The MapleSim Window
Viewing and Editing Subsystem Contents
Specifying Parameters for Multiple Components
Using the Connections Manager
Download Help Document
What kind of issue would you like to report? (Optional)