Skip to main content

Linking Visio Shapes to Products

How to link Visio shapes to products

A
Written by Ashok P
Updated this week

You can use the Link to Product feature to link any Visio shape to an SI product. You can then create a new Master shape for use in projects. You can create your own custom Visio shapes or link third-party Visio shapes to your SI catalog, e.g., NetZoom.

To link a Visio shape to a product:

1/ Create or drag in a shape that you want to link to a product.

If you used multiple shapes to create your final shape, select them all and group them.

grouping shape.png

2/ Right-click on the grouped shape and click Show ShapeSheet.

show shapesheet.png

3/ In the ShapeSheet, change the value of SelectMode from 1 to 0.

select mode.png

4/ Close the ShapeSheet window.

5/ Back on the Visio page, right-click the shape and choose D-Tools > Link to Product > New.

link_to_product.png

The Add Products form will open.

6/ Select a product and then click the Add and Close button.

link_shape_to_product.png

This shape is now linked to that product within this project, and the product is added to Project Editor.

If, instead, you choose to link to an existing product, a form opens allowing you to select a product that is already a part of the project.

link_to_existing_product.png

To be able to reuse this shape on future projects, you must create a new Master shape. You can add the shape to an existing D-Tools Visio stencil, or you can create a new stencil.

Create a New Stencil

1/ In the Visio Shapes window, select More Shapes > New Stencil (either US or Metric).

new stencil.png

The stencil will be created and will be open for editing.

2/ Drag your shape into the stencil.

drag to new stencil.png

A new Master shape will be created.

new master.png

3/ Rename the shape and then click the Save button.

save stencil.png

For this Stencil to display with your SI Visio stencils, you must navigate and save it to the following folder on your machine: C:\Users\username\AppData\Roaming\D-Tools\SIX\Data\Drawings\Visio

AppData is a hidden folder, so you will need to change your Windows settings to show hidden files and folders.

stencil location.png

Add to the Existing Stencil

1/ In the D-Tools Shapes window, right-click the stencil you want to use and select Open Stencil.

open stencil.png

The Stencil will open in the Shapes window.

2/ Right-click on the title bar of the stencil and select Edit Stencil.

edit stencil.png

3/ Drag your shape into the Stencil.

drag to new existing stencil.png

4/ Click the Save button.

There is no need to select a path since this stencil already exists.

save existing stencil.png

It is a good idea to lock the Stencil now, so if we (D-Tools) release updated stencils, yours won't get overwritten.

Use the Shape(s)

Now you can use your custom shape(s) just as you would any stock D-Tools shape. If you drag the shape directly to a Visio page, the Add Product form will open and be filtered to the product you have assigned the shape, acting as a one-to-one relationship vs. a one-to-many.

However, you can select any product from your SI catalog simply by clicking the Reset button in the Filter and Query section of the ribbon.

reset_button.png
Did this answer your question?