/
View Editor User Guide: 3 Use Cross References

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

Ā 

Related content

View Editor User Guide: 1 About View Editor
View Editor User Guide: 1 About View Editor
More like this
ViewEditor
ViewEditor
More like this
View Editor User Guide: 2 Navigation and Viewing
View Editor User Guide: 2 Navigation and Viewing
More like this
MDK User's Guide: 4 MDK Specific Features
MDK User's Guide: 4 MDK Specific Features
More like this
MDK User's Guide: 5 Selected Modeling Tutorials
MDK User's Guide: 5 Selected Modeling Tutorials
More like this
English Wikipedia Source
English Wikipedia Source
More like this