Place a custom drawing property label on a template - Intergraph Smart 3D - Help - Hexagon

Intergraph Smart 3D Orthographic Drawings

Language
English
Product
Intergraph Smart 3D
Subproduct
Drawings and Reports
Search by Category
Help
Smart 3D Version
13

The following steps show how to add a custom attribute drawing property label to a drawing template. To add non-custom property labels to the template, see Place a drawing property label on a template.

  1. Create a Custom Attribute workbook using Excel. This is the bulkload file for the custom attribute and names the attribute. For example, you could create a file called CustomAttributes.xls that contains the definition for a custom attribute. See DrawingCustomProperties Workbook in the Drawings and Reports Reference Data.

    The DrawingCustomProperties.xls workbook allows you to add up to 25 custom properties. To add large amounts of custom attributes, use the Drawings-ExtendCustomAttributes.xls workbook. See Drawings-ExtendCustomAttributes Workbook in the Drawings and Reports Reference Data. The workbooks are available on the PPM Smart Community web site.

  2. Bulkload the Custom Attribute workbook. See the Reference Data Help for information on populating Excel workbooks and bulkloading.

  3. Create an .xsd file and add a line that defines the attribute in the dropdown list when you edit a template and use the Place Drawing Property Label command. For example, using DrawingCustom1 as the attribute name, the line would be <xs:element name="DrawingCustom1">.

    You can only use letters, numbers, and underscores when defining the element name. The name must also begin with a letter. You cannot use spaces.

  4. Add a line that points to the AttributeName property of the bulkloaded attribute. For example, using the above attribute name, the necessary line would be <pk name="DrawingCustom1"/>. Your .xsd file would look similar to the following:

        </xs:element>
        <xs:element name="DrawingCustom1">
          <xs:annotation>
           <xs:appinfo>
             <pk name="DrawingCustom1">
           </xs:appinfo>
          </xs:annotation>
        </xs:element>

    The pk name in the Custom.xsd file must match the related AttributeName property of the bulkloaded attribute.

  5. Make sure the .xsd file is in the \Symbols\Drawings\Catalog\Labels\Border\Schema folder.

  6. In the Drawings and Reports task, click Tools > Edit Border Template

  7. On the Select Template Dialog, select a template, and click OK. The template opens in the SmartSketch Drawing Editor.

  8. In the Label Set list (the first dropdown on the ribbon), select Custom.

  9. In the Fields list (the second dropdown on the ribbon), select the Custom attribute property to use as your title block label.

  10. Zoom into the area of the border where you want to place the drawing property label. Click the template to place the label.

  11. Continue placing labels on the template as necessary.

  12. Right-click to end the command, and save the changes to the template before closing SmartSketch Drawing Editor.

  13. Update any drawing documents associated with the modified template. See Updating Documents in the Drawings Help.

  14. Right-click the drawing and select Properties.

  15. Go to the Custom tab. The new Custom attribute property is shown on the tab.

  16. To verify the custom drawing property is added to the drawing title block, right-click the drawing and select Open. The custom drawing property includes the Custom Property attribute in the title block.

See Also

Working with Drawings and Reports and SmartSketch Drawing Editor