About the New Dynamic Visualization Assistant

You can use the new dynamic visualization assistant to manage the visualization of objects in 3D area. This is performed without modifying the products or representations. You can manipulate properties like visibility, color, and transparency.

You can search for specific objects (features and products) in the session based on various preset search parameters. These search parameters can be the type of the object, its attribute values, and its hierarchy structure in the tree.

  • The resource Visualization Documents is added in the resource set Dynamic Visualization Assistant Resource in Data Setup. Here, you can set multiple XML documents as resources.
  • The Object List (Legacy) resource is used in the old dialog box (when the preference Legacy Mode is selected).

When you first start the Dynamic Visualization Assistant command, the new dialog box is shown by default. If you want to switch back to the old dialog box, you can select the Legacy mode preference.



The below table explains the options in the Dynamic Visualization Assistant:

Option Description
Document selector

It holds the list of xml documents. The list of documents is fetched from Data Setup at:Data Setup > Visualization Dynamic Assistant Resource > Resource Set > Visualization Documents

You can also search and select xml from the database or import them using the ‘Search’ option.

You can set any one of the documents in the list as the current one. The visualization tree is updated to display the current document.

If you set an old version of the document as the current one, a warning message appears.

.
Contract selector When the contract selector is in the contracted state, it shows the currently set contract. When you expand the contract selector, a panel appears.

It holds the list of contracts for each xml from the document selector.

The arrow indicates the currently set contract.

The contracts are stored in settings. The following actions can be performed on the list of contracts:

  • Set as current:

    You can set any one of the contracts in the list as the current one.

    The visualization tree is updated to display the current contract.

    The button is active when only one element is selected in the list and the selected element is not already the current contract.

  • Create new:

    You can create new contracts.

    When no element is selected in the list, a new contract is created which is the same as the XML document.

    When only one element is selected in the list, a new contract is created by using the selected one as reference. The reference contract is copied into the new one. When more than one element is selected in the list, the button is disabled.

  • Delete:

    You can delete the selected contracts from the list.

    If the selected contracts contain the ‘Default’ contract or the current contract, the delete button is disabled.

Visualization tree

The visualization tree visually represents the currently selected XML document in the Document Selector in combination with the currently selected contract in the Contract Selector.

The nodes of the visualization tree represent the nodes of the VisuGroups and VisuObjects in the document. The hierarchy, that is the parent-child relationships among them is also represented.

Each VisuObject has a search query associated with it. This is used to look for objects in a session that satisfy this query.

You can perform various actions to change the contract of the individual nodes. These changes include modifying the following graphical properties:

  • Visibility
  • Color (validity, value, and transparency)
  • Pickability

When you change the contract of some node, it searches for corresponding objects in the session that satisfy the search query of that node. The contract change performed by you will then be applied to the found objects.

You can expand/contract the nodes, hide/show them, filter them and also reorder them.

Contract commands (Save, Apply, Reset contract)
  • Save Contract:

    When you change the color, visibility, pickability of any node or expand, collapse, reorder any node, the contract is modified.

    Using this button, you can save this modified contract and reuse it later.

    This button is only active when the current contract is in modified state. To indicate this modified state, a couple of asterisks will be added in front of the contract name.

    When the current contract is in modified state and you change either the contract or the document or close the dialog, you must either save the modified state of the current contract, or discard it.

  • Apply contracts: The current contract for every node in the visualization tree is applied to the corresponding objects after searching for them.
  • Reset contracts: The contracts for all objects in the session are reset to their default state.
Contract commands on the nodes These commands are available for every node and can be seen when you hover over an individual node.
  • Apply contract: It applies the currently set contract to the current node’s objects only. If no contract is set to the node, only the count of matching objects to the search query is shown.
  • Set color: It is used to set the visual properties of the node’s objects. You can perform the following actions:
    • Set/Unset color of the objects using the Color check box
    • Hide/Show the objects using the visible check box.
    • Make the objects pickable/ not pickable using the Pickable Checkbox
    • Set the color of the objects using the Color Wheel or Color Mosaic
    • Set the transparency of the objects using the Transparency slider or spinner
    • The current and the new selected color is displayed in two panels for comparison.
    • Clicking OK will finalize the contract changes for the given node. Clicking Cancel will discard them.
  • Unset color:
    • It is used to reset the color of the node’s objects to its original value.
    • If the color is unset, the node will not show the color strip.
    • If the color is already unavailable, the unset color button will not be displayed
  • Hide/Show:
    • It is used to set the visibility of the object.
    • If the Show contract is set already, the Hide action will be performed.
    • If the Hide contract is set already, the Show action will be performed.
    • When the current node’s contract is set to hidden, its icon will have a greyed-out texture to indicate the same.
Tree node manipulator commands
  • Reorder nodes:
    • When this button is enabled, you can drag and drop the visualization tree nodes to re-order the tree.
    • Grab handles will be shown on nodes to indicate that re-ordering is enabled and you can drag and drop them.
    • The reordering can be done only in such a way that the parent of a node is not changed. Only re-ordering under the current parent can be performed.
    • When this mode is enabled, you cannot perform Contract commands on nodes.
  • Filter nodes:
    • When this button is enabled, you can specify the strings using which you want to filter the visu-tree nodes.
    • If the display name of the nodes contain any of the above strings, they and their parents will be shown. If not, the nodes will be hidden.
    • The filtering is temporary and will not persist. The intention is that You can quickly look up a node and apply a contract to it.
Prererences
  • Deep search:

    Select the Deep search check box to search for objects by loading all the products open in session to design mode. All the products which are not in design mode get loaded into design mode before performing search, and when search is over, the elements that are not required anymore in design mode get unloaded from design mode. Note that loading and unloading happens for those product which are not loaded in design mode, and product which are already loaded in design mode would not have any change in the loaded state.

    If disabled, the performance is improved but it will not search for objects in unloaded products.

  • Consider only the deepest nodes: Select the Consider only the deepest nodes check box to apply the contract only to the deepest object of that type in the specification tree branches.

    If an object in spec-tree of a given type has a child (or grandchild) of the same type, then that object will not be considered for contract modification when this preference is checked.

    This is useful when the spec-tree contains parent and child objects of a same type and you don’t want the contract to be applied to the parent object (because then the same parent contract will be inherited by its all other children).

  • Legacy mode:

    Select the Legacy mode check box to enable the legacy Dynamic Visualization Assistant command.

Contextual Commands on Visualization node

Hide node: Available on VisuGroup and VisuObject nodes. Hide the node from the visu-tree. The parent node will show an icon mask to indicate that it has hidden children.

Show hidden children (optional): Available on all nodes but only if the node contains any hidden children. By clicking on this command, the hidden children will be shown.

Expand all: Available on Root and VisuGroup nodes. Expands all the children of this node recursively.

Collapse all: Available on Root and VisuGroup nodes. Collapses all the children of this node recursively.

Select matching objects: Available on VisuGroup and VisuObject nodes. Select and highlight the matching objects in 3D area corresponding to this node.

Show only this: Available on VisuGroup nodes only. Show the matching objects corresponding to this node. All other objects are hidden. This does not modify the contract.