To Work With Data Shortcuts

Tutorial Exercise: Creating Data Shortcuts

To create data shortcuts

Create data shortcuts from the active drawing.

Data shortcuts are stored in the _Shortcuts folder for the active project and are used to create data references to the source objects in other drawings.

Each data shortcut is stored in a separate XML file.

  1. In Toolspace, on the Prospector tab, right-click Data ShortcutsCreate Data Shortcuts.
  2. In the Create Data Shortcuts dialog box, select any objects to be referenced in other drawings, and then click OK.

    Now you can create references to the data shortcuts in other drawings.

    Note:

    When you create a data shortcut for a corridor that uses alignments and profiles for its baselines, data shortcuts are automatically created for those baselines. If corridor baselines are comprised of feature lines, shortcuts are not created independently for those feature lines, but when the corridor shortcut is referenced into a drawing, the baselines are treated as alignments/profiles. For more information, see To Create Corridor References.

    When you create a data shortcut for a profile or a sample line group, a data shortcut to the parent alignment is also created.

    When you create a data shortcut for a sample line group, data shortcuts to the sampled sources are not automatically created. However, if an object is a sampled source for a sample line group, that information is shown in the Status column in the Create Data Shortcuts dialog box. For more information, see About Sample Line Group Data Shortcuts and References.

Note: The system will not allow you to create multiple shortcuts for a given object or to create a data shortcut to a reference object from another drawing.

To create folders for data shortcuts

You can create folders for organizing data shortcuts. In addition, when you create data shortcuts from objects that are stored in subfolders, the subfolder structure is replicated in the data shortcut project.

Note: You can also create new folders for data shortcuts in the Data Shortcut Manager dialog box.
  1. In Toolspace, on the Prospector tab, expand the Data Shortcuts collection.
  2. Right-click an object collection or an existing folder and click Create Folder.
  3. In the Create New Folder dialog box, enter a name for the new folder and click OK.
  4. Now you can drag and drop existing data shortcuts or existing folders into the new folder.

    Note: If you attempt to delete a folder that contains data shortcuts, a task dialog box is displayed with options to move the objects to the parent folder, to delete the objects, or to cancel the command.

To associate a data shortcut project with the current drawing

Make a data shortcut project the default for the current drawing.

Note: This procedure explicitly creates an association. If the current drawing is not associated with a project, and a data reference is inserted, an association is created implicitly.
  1. Open the drawing for which you want to set the default data shortcuts project.
  2. In Toolspace, on the Prospector tab, right-click Data Shortcuts and click Associate Project to Current Drawing.
  3. In the Associate Project to Current Drawing dialog box, select the project to associate in the Select Project drop-down.
    Note: To remove the associated project, set the Select Project drop-down to None.
  4. Click OK. The project becomes the default data shortcut project for the drawing, and appears under the drawing’s Data Shortcuts node in the Prospector.

To associate a data shortcut project with multiple drawings

Associate a data shortcuts project with all the drawings in a folder.

  1. In Toolspace, on the Prospector tab, right-click Data Shortcuts and click Associate Project to Multiple Drawings.
  2. In the Associate Project to Multiple Drawings dialog box, select the project to associate in the Select Project drop-down.
    Note: To remove the associated project, set the Select Project drop-down to None.
  3. Click OK. In the Select a Folder Containing the Drawings dialog box, navigate to the folder on the filesystem that contains the drawings to associate with the project.
  4. Click Select a Folder. The project is associated with all drawings contained in the folder, and appears in each drawing’s Data Shortcuts tree in the Prospector.

To remove a data shortcut

Remove a data shortcut to make it unavailable for future data references.

You can remove a data shortcut from the Data Shortcuts collection in Toolspace, on the Prospector tab. Doing this does not remove any data references to the source object that exist in drawings, but it prevents anyone from creating more references to the object.

  1. In Toolspace, on the Prospector tab, expand the Data Shortcuts collection to find the shortcut you want to remove.
  2. Right-click the object and click Remove.

To control access to the data shortcuts node

Control access to the use of data shortcuts.

You can remove the Data Shortcuts node from the Prospector tab of Toolspace. This can be useful if you want to prevent the use of data shortcuts.

Use the ShortCutNode command to either hide (disable) or show (enable) the Data Shortcuts node.

  1. On the command line, enter shortcutnode.
  2. Set the value to 0 to disable the Data Shortcuts node, or 1 to enable the node.

To validate data shortcuts

Data shortcuts can become invalid if changes occur to the names or locations of drawings or reference objects.

When a data shortcut reference is broken, the icon is displayed next to the invalid data reference in Toolspace, on the Prospector tab.

Validation reloads the data references if the drawing paths have not changed. Otherwise, you must repair broken references.