Relationship Viewer is a Work in Progress add-in for Autodesk Vasari. This add-in takes the user’s current selection and displays a diagram showing its relationship to the other elements in the document. You can use this add-in to visualize and better understand the relationships between objects in Vasari.
Note: For best results, open the family file directly rather than opening it from a project.
Select the parameter dimension "e1" (as shown) and launch Relationship Viewer:
The diagram is generated based on the current selection, and the nodes of the selected elements are colored orange and given a shiny style. Each of the nodes are colored based on the element types of the elements they represent, and each node has some basic information on the nodes, such as the name, element type, and some basic parameters for specific element types. Hovering over a node or connector reveals more information on what that represents.
Use the Depth Filter to show more of the parents of the element:
Revealing more parents also reveals more types, filter the diagram to exclude reference points:
Select the include radio button to show only the checked element types. Selected elements are always shown:
An important note about type filters:
When elements are filtered out of the diagram, Relationship Viewer attempts to determine the best relationship to display between the displayed elements. In this example, there are several paths which could be taken to connect each element. Since the total relationship is a stronger relationship, Relationship Viewer ignores the others and displays the total relationship.
To learn more about the model line named "reference lines", click on it and change to the Info tab:
The Info tab displays more information about this model line, such as its length, and its parents and children. Highlight the connectors by clicking on them in the Info tab:
Click on the connectors themselves to populate the Info tab:
Change the layout to Circle using the Layout option on the Filters tab.
To select the reference line in Vasari, double click on it's node and it will be added to the selection, which is seen in the view and the Relationship Viewer:
If multiple elements are selected, the selected element paths radio button will show only the connectors between the selected elements.
Node Based Diagram Generation: Relationship viewer creates a series of rectangles called nodes representing each element in the document. Hovering over each of these nodes displays more information about the elements they represent, including their name, type, and parameters. These nodes are connected by lines and arrows that show the various relationships between the diagram elements. Many parametric modeling programs contain what are often called "parent/ child" relationships to describe how elements are related. The relationships in Vasari are represented as follows:
Red = Total Parent Relationship. If the parent element is deleted, so is the child. For example, model lines are hosted on levels. When a Level (parent) is deleted, any model lines (children) drawn on it are also deleted.
Green = Partial Parent Realtionship. Related to the element, but deleting one will not delete the other. For example, if either a Parameter (partial parent) or the Reference Line it is defining (child) are deleted, the related element will not be deleted.
Gold = Formulaic Relationship. Related by a formula, deleting one will not delete the other. . For example if either the “e” family parameter or the “e1” family parameter that uses “e” in its formula are deleted, the other will not be deleted.
Diagram Customization: Through the use of several different filters, the user can toggle the parents and children of the selected node, as well as what element types should be displayed. The layout of the diagram can also be manipulated into several different layouts.
Dynamic Data Updating: Relationship Viewer responds and reacts to the user’s changes in Vasari, as each node and each connector updates to show changes. The diagram responds to not only changes in selection, but also document changes, parameter changes, and removal of elements. The filter lists updates to reflect changes, changing the elements that can be filtered as well as how deep the depth filter goes.
Diagram Interaction: The diagrams generated in relationship viewer are interactive. By clicking on an element, the information tab fills with data related to the selected node: A list of all parents, children, and parameters that the node contains. Double clicking on a node selects the node in Vasari and also redraws the diagram with the newly selected node as a generation point. Previously selected elements can be deselect by double clicking on them.