Creating and Editing Element Definitions

Element definitions let you assign visualizers to scene elements (entities, tactical graphics, interactions, and aggregates). Element definitions use a tree-style hierarchy to assign visualizers. At any level of the hierarchy an element definition inherits the visualizers of its parents. This makes it possible to assign a visualizer to many elements at one time. You can change the inherited parameter values for a specific element at any level of the hierarchy. However, in most cases, you cannot delete an inherited visualizer.

You can create and edit element definitions for entities, tactical graphics, and interactions. The procedures are the same for each element type.

Creating an Element Definition

Procedure 130: Creating an Element Definition

  1. Choose Settings > Visual Model Editors. The Visual Model Editors dialog box opens.

  2. Select the page for the type of element definition that you want to create (Figure 113).

    Figure 113: Entity Definition Editor page

    Entity Definition Editor page

  3. Expand the element definition hierarchy to the level at which you want to add an element definition and select the parent element.

  4. Click the Add icon (Add icon). The Create Element Definition dialog box opens.

  5. Type a name for the element definition. (You cannot edit the name after you create it, so try to avoid typing errors.)

  6. Click OK. The new element is added to the list.

  7. Optionally, edit the visualizers assigned to the element. For details, please see Editing a Visualizer.

  8. Optionally, add a visualizer to the element. For details, please see Adding a Visualizer.

  9. Optionally, save the element. For details, please see Saving Element Definitions.

Editing an Element Definition

An element definition consists of a list of visualizers for that element. You can add visualizers and you can edit a visualizer’s parameters. In most cases, you cannot delete an inherited visualizer.

Adding a Visualizer

Procedure 131: Adding a Visualizer to an Element Definition

  1. Choose Settings > Visual Model Editors. The Visual Model Editors dialog box opens.
  2. Select the page for the type of element definition that you want to edit (Figure 113).
  3. Select the element definition that you want to edit.
  4. Optionally, on the Model Sets drop-down list, select the model set you want to use. (3D Network Visualizer XR only)
  5. Click the Add icon (Add icon) next to the Visual Definitions label. The Create Visualizer Definition dialog box displays a list of available visualizers.
  6. Select the visualizer that you want to add.
  7. Click OK. The visualizer is added to the element.
  8. Optionally, edit the parameters for the visualizer. For details, please see Editing a Visualizer.

Editing a Visualizer

Visualizers and their parameters are displayed either as grey, italicized text or as black text. Italicized text indicates that the visualizer or parameter is inherited from a parent element. Visualizers and parameters that are not italicized are particular to that element. (These entries could be inherited by child elements.)

Figure 114: Visualizer entry

Visualizer entry

Procedure 132: Editing a Visualizer Parameter

  1. Choose Settings > Visual Model Editors. The Visual Model Editors dialog box opens.

  2. Select the page for the type of element definition that you want to edit (Figure 113).

  3. Select the element definition that you want to edit.

  4. In the visualizer pane, click the value of the parameter that you want to edit. Depending on the parameter, a drop-down list of available values is displayed, a dialog box is displayed, or the field becomes editable.

  5. For a drop-down list, select the new value. For an editable field, type a new value. For a dialog box:

    5.1 If the dialog box window does not have a drop-down list, click the Add icon (Add icon). A drop-down list of values is added to the dialog box window.

    5.2 Select the value that you want.

    5.3 Click OK.

Mapping to Multiple Model Definitions or Schema

There may be cases where you want to map a visualizer to multiple model definitions or multiple schema. If you do this, 3D Network Visualizer randomly assigns the model definition or schema to instances of the object.

Procedure 133: Mapping a Visualizer Attribute to Multiple Values

  1. Choose Settings > Visual Model Editors. The Visual Model Editors dialog box opens.

  2. Select the page for the type of element definition that you want to edit (Figure 113).

  3. Select the element definition that you want to edit.

  4. In the visualizer pane, click the value of the modeldefinition or modeldefinitionschema parameter that you want to edit. A dialog box opens. If the attribute already has values, they are listed in the dialog box window as a series of drop-down lists (Figure 115).

    Figure 115: Parameter with multiple values

    Parameter with multiple values

  5. To add a value, click the Add icon (Add icon). A new list is added to the window.

  6. Select a value from the new list.

  7. To remove a value, click the Delete icon (Delete icon) next to the list for that value.

  8. Click OK, The visualizer list does not show all of the values, but clicking it will open the dialog box again and show the selected values.

Deleting an Element Definition

Note: You cannot delete an element definition if it is being used.

Procedure 134: Deleting an Element Definition

  1. Choose Settings > Visual Model Editors. The Visual Model Editors dialog box opens.
  2. Select the page for the type of element definition that you want to delete (Figure 113).
  3. Select the element definition that you want to delete.
  4. Click the Delete icon (Delete icon).

Saving Element Definitions

Changes to element definitions get saved automatically. You can also save element definitions using the standard 3D Network Visualizer options for saving settings. For details, please see “Managing 3D Network Visualizer Settings“ on page 126.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com