Define SmartText Attributes for a Smart Label - SmartSketch - Help

SmartSketch Help

Language
English
Product
SmartSketch
Search by Category
Help
SmartSketch Version
9.0(2015)

To use this functionality, you must install the Symbol Authoring option.

  1. Open a document with an .sym extension.

    Delete existing graphics unless you want the graphics displayed with the SmartLabel.

  2. On the Symbol Authoring Tools toolbar, click Edit SmartText .

  3. In the Property box, enter the attribute information that you want the SmartLabel to display.

    • The property specifies the attribute name of the object that you want to label such as Name, Code, Class, Manufacturer, Cost, Location, or Description; consequently, the information in the Property box must match the symbol's attribute Name field.

    • Symbol attributes are displayed in the Attribute Viewer:

  4. Enter the information that you want in the Value box.

    The values of the attributes can be predefined, or the values can remain null. When a SmartLabel containing attribute values is dragged and dropped on to a symbol, the attribute names and defined values in the SmartLabel are loaded on the symbol. Conversely, when a SmartLabel that contains null values is dragged and dropped on a symbol that has the same attribute name(s), the values are read from the target symbol and displayed in the SmartLabel during placement

  5. Select or type the format that you want in the Format box.

    The format can be any format supported by Visual Basic. The format type you specify must match the format type of the

  6. Click Insert Field. The information displays in the Existing text box.

  7. Repeat steps 3-6 to define additional attributes for the SmartLabel to display.

  8. When finished, click OK to return to the SmartSketch document.

  9. Select Symbol Properties on the Symbol Authoring toolbar.

  10. On the Behaviors tab of the Define Symbol Properties dialog box, select the Label and Glue to Target Object check boxes and then click OK.

  11. Save and close the symbol file.

You can test the SmartLabel by dragging it from the Symbol Explorer and dropping it on a symbol or object.

  • The SmartLabel placed on the object displays the attribute values that are already assigned to the object. If the object does not have attribute values, the default value displays.

  • The Font button in the SmartText Editor dialog box determines the format of the characters that you want to appear in the SmartLabel.

  • If you want to remove a field, you can either select and edit the field in the SmartText Editor box and press Delete or select the label text on the symbol and delete it. You can also edit label text directly on the symbol or redefine the fields in the SmartText Editor box. You cannot select individual characters between the angle brackets of the SmartText field. You can select only the entire field.