Label Definition for Drawings by Rule - Intergraph Smart 3D - Reference Data - Hexagon

Intergraph Smart 3D Drawings and Reports Reference Data

Language
English
Product
Intergraph Smart 3D
Subproduct
Drawings and Reports
Search by Category
Reference Data
Smart 3D Version
13.1

You define labels for drawings by rule in the Catalog task. The labels are associated with an object property, then the label files are moved to the [Reference Data Folder]\SharedContent\Drawings folder. The .sym and .xml files used to control placement and format for the label are created in the Drawings folder as well. Finally, the new label is added to a view style definition using the Tools > Define View Style command in the Drawings and Reports task.

If you need to combine multiple simple labels to create a single concatenated label, follow the steps below to create the simple labels, and then see Concatenated Labels for Drawings by Rule for instructions on combining the labels.

The following procedures step you through defining a new label.

Define the Label in the Catalog Task

  1. Go to the Catalog task, and select Tools > Define Label.

  2. Click New Folder to create a new folder in the label hierarchy. Rename the folder if necessary.

  3. Select the new folder, and click New COM Label to create the label.

  4. On the Label Editor dialog box, click Add to define a new property for the label.

  5. On the Select Properties dialog box, specify an object type, then select the property from those available for the object type. Click OK to return to the Label Editor.

  6. In the Layout section, set up the formatting of the label and insert the property as needed.

  7. Click OK to complete the label creation and save it to the catalog.

    The label definition creates files on the SharedContent share in the \Labels\Types of Labels folder. If you create a new folder while in the Label Editor, the files for the new label are in the new folder. The label files include the .rfm file for format definition, the .rfp file for formatting parameters, the .rqe file for the report query definition, and the .rtp file, which is the label template file.

For more information, see Label Editor Command in the Smart 3D Catalog User's Guide.

Define the Label as a Drawing Label

In addition to the files created by the Define Label command, drawing labels also require a symbol file (.sym) and a format file (.xml).

  1. Create a new folder in the [Reference Data Folder]\SharedContent\Drawings\Catalog\Labels\Templates folder, and copy the new label files to this new folder. Now you are ready to define the .sym and .xml files as needed.

  2. Copy existing .sym and .xml files to the new folder, and rename them to match the names of the new label files.

  3. Go to [Program Folder]\Common2D\Shape2D\Bin and run shape2dserver.exe to start SmartSketch Drawing Editor.

  4. Select File > Open, and browse to the new folder. Select the .sym file to open it.

  5. Update the .sym file to be used with drawings. Highlight the label text box, right-click, and select Properties.

  6. On the Text Box Properties dialog box, go to the User tab, and modify the Attributes for the text box.

  7. Close SmartSketch Drawing Editor, saving your changes to the .sym file.

  8. Open the .xml file and modify the code to point to the new label name. For example:

  9. Exit the .xml file, saving your changes.

Define a View Style to Use the New Label

You are now ready to define a view style to use the new label you created. For more information on defining view styles, see the Orthographic Drawings User's Guide.

  1. In the Drawings and Reports task, select Tools > Define View Style. Change the View Style Type to Ruleset View Style. You can create a new rule set view style or select an existing one.

  2. Select a rule set view style, and click Properties to display the Edit Ruleset View Style dialog box.

  3. In the Label field for a definition row, specify the new label you created.

  4. Save the view style definition to use when creating drawings.

See Also

Drawings by Rule Labels, Symbols, and Dimensions