View Editor User Guide: 3 Use Cross References

Cross References are pointers to other sources of information, typically text or documentation. Such references can be names, documentation, or values of model elements, as well as other views and documents. The primary benefit of cross references is that wherever they are accessed in a Document/View, the Document/View will be automatically updated when the element is modified. This is also the direct interface for changing model elements because any change to the element cross reference will be reflected in the model itself. As you will notice throughout both this guide and Model Development Kit User's Guide , there are cross references constantly being made to other views and documents.

The following guide demonstrates the different features and capabilities for cross referencing in View Editor.

 

Create a Cross Reference - name, documentation, and value

  • From 2.4.0 on, there is a checkbox in the cross reference popup that allows you to restrict the editability of the cross referenced element where you inserted it. This will only affect editing in the center pane and not in the element specification on the right pane.

Find Cross Reference inline 

  1. Enable Edits 

  2. Select a Presentation Element to Edit

  3. You can use the '@' symbol to find cross references inline

  4. Can use the up/down arrow to highlight and select element

Editing cross referenced elements

  1. Cross referenced element can come from:

    • Different part in View Editor

    • New Cross Reference

  2. Bonus: Run “Update from MMS” in MagicDraw to see the changes to the elements

    • More information can be found in the description