Copying comparison values to user-defined attributes

You can save selected attribute values or all compared attribute values of a comparison network to new, user-defined attributes. Thus, the values are kept after termination of the version comparison.

You proceed differently depending on the version comparison chosen.

Creating user-defined attributes by adopting direct attributes during version comparison

1.  From the File menu, choose Compare and transfer networks > Version comparisons.

The Version comparisons window opens.

2.  Select the desired version comparison or the desired attributes.

3.  Click the  Copy to user-defined attributes button.

The version comparisons or attributes are saved to new user-defined attributes.

Note: Since user-defined attributes do not have subattributes, a user-defined attribute is created for each subattribute.

ID and short name of the new user-defined attributes are generated from the original short name of the attribute, added by the name of the version comparison. If the generated ID already exists, an error message is displayed and this attribute will not be created.

Creating user-defined attributes during version comparison with comparison network in the background

1.  From the File menu, choose Compare and transfer networks > Version comparisons.

The Version comparisons window opens.

2.  Select the desired version comparison or the desired attributes.

3.  Click the  Copy to user-defined attributes button.

The Copy data to user-defined attributes window opens.

Notes: Since user-defined attributes do not have subattributes, a user-defined attribute is created for each subattribute.

ID and short name of the new user-defined attributes are generated from the original short name of the attribute, added by the name of the version comparison. If the generated ID already exists, an error message is displayed and this attribute will not be created.

4.  If necessary, reduce the amount of data you want to copy.

Note: Only direct attributes are displayed for selection.

 

Element

Description

Hide attributes with default values

If this option has been selected, only selected attributes and their values are compared.

If this option has not been selected, all selected attributes and their values are compared, disregarding whether attribute value and default value are identical or not.

Note

You can find the default attribute values in the Attribute.xls file in the ...Programs\PTV Vision\PTV Visum 2022\Doc folder.

Hide empty tables

If this option has been selected, only tables containing network objects are compared.

Hide calculated attributes

If this option has been selected, only selected readable attributes and their values are compared additionally to the key attributes. Calculated attributes are ignored when they are read again.

If this option has not been selected, both readable and non-readable attributes and their values are compared.

5.  Choose the network object types you want to copy to user-defined attributes.

Element

Description

The network object type is copied.

The network object type is not copied.

Edit marking

In the list of tables, you can select several entries by holding down the Ctrl key.

You can then use the button to include all markings of tables and attributes in the selection or remove them from the selection.

You can also select or deselect all direct attributes of the marked tables.

Save / Open selection Use the buttons to save the current selection in a network file / to open a network file of a saved selection.

Check all tables

Click this button to select all network object types.

Uncheck all tables

Click this button to deselect all network object types. The attributes, however, remain selected.

6.  Click a network object type.

The attributes and, if applicable, the subattributes of the network object type are displayed.

Tip: Click the Ctrl key and keep it pressed while clicking the desired entries one by one to show the attributes of multiple network object types at the same time.

Note: Due to current settings in the upper section of the window not all attributes of a network object type may be displayed.

7.  Select the attributes and subattributes you want to copy.

Element

Description

The attribute is selected and copied.

The attribute is neither selected nor copied.

Attribute groups

Via this button you can either select or switch off predefined groups of attributes in a separate window (Selecting or deselecting groups of attributes for comparison).

Set default values

Click this button to hide empty tables and calculated attributes. All other attributes are selected.

Tips: Right-click a network object type. On the shortcut menu, activate or deactivate all currently displayed attributes of the network object type.

8.  Confirm with OK.

The attributes are copied to user-defined attributes.