Displaying Automatic Texts on Routes

You can automatically display texts on routes.

This scenario describes an example of a text template defined for logical wires. Every time a wire instance is placed in view, the text template is replaced by the name of the wire.


Before you begin: In a diagram view, create two components to be connected.
  1. Create a logical reference and insert a symbol representation under the reference.
  2. To edit the symbol representation in Symbol Design, double-click the symbol object.
  3. Create a text template. For more information about the creation of text templates, see Drafting User's Guide: Managing Text and Table Templates: Working with Text and Table Templates.

    Important: The distance between the text template and the origin of the symbol determines the text position on the route line. The origin of symbol must be placed at the ends or in the middle of the route.

  4. In the Link Template dialog box, define a link template:
    1. In the Package box, select Electrical Logical.
    2. In the Type box, select Logical Wire.
    3. In the PLMEntity box, select Title.
    4. Click Insert.
  5. From the Tools section of the action bar, click Object Properties.
    The Object Properties panel appears.
  6. Click Text and select to define the anchor point of the text.

    Note: For more information about anchor points, see Drafting User's Guide > Managing Text and Table Templates > Working with Text and Table Templates.

  7. Save.
  8. In Data Setup, create a new resource set in Electrical Logical Resource.
  9. Assign the logical reference to the Default Text on Electrical Conductors resource and set the following parameters:
    • In the Conductor type = <Any value> list, select the type of conductor to be associated with the text template.
    • In the Text position on conductor = <Any value> list, select the position of the text on the route:
      • First Extremity: Next to the first end of the route.
      • Second Extremity: Next to the second end of the route.
      • Middle of Route: In the middle of the route.
      • Both Extremities: At both ends of the route.
      Note: For a same position, several texts can be defined.
    • In the Conductor SubType Attribute box, enter a subtype attribute associated with an electrical route line.
    • In the Grouped list, select Yes or No to indicate if the electrical conductor belongs to a group (for example, cable).
  10. Click OK when done.
    The resource set is added under Electrical logical resources.
  11. Associate your resource set with a project.
  12. Click Close.
    A message appears asking you if you want to save.
  13. Click Yes to save.
  14. In the diagram view, create and route a wire.
    The text template is replaced by the name of the wire and is inserted in the diagram view.

    Note: If the Middle of Route option is selected and you modify the length of the route, the text does not reposition itself at the center of the route.