Title Block Macros for Conventional Drawings - Intergraph Smart Electrical - Help - Hexagon

Intergraph Smart Electrical Help

Language
English
Product
Intergraph Smart Electrical
Search by Category
Help
Smart Electrical Version
10

You specify macros in your title block by adding SmartText from the Catalog Manager and defining the appropriate macro in the user properties. For all the available properties in each macro category, you should refer to the Data Dictionary. This topic describes a number of examples of macros that you can use in Smart Electrical drawing title blocks.

Plant Group Macros

The following macros specify the plant group properties in your title blocks. You can specify any plant hierarchy level according to the settings of your plant that you defined in the Data Dictionary. Plant hierarchy macros use the syntax [Plant Group Name].[Property]. The following examples illustrate the use of this syntax for the name property:

Macro

Notes

&Plant.name

Retrieves plant name

&Area.name.

Retrieves area name

&Unit.name.

Retrieves unit name

&Subsystem.name.

Retrieves subsystem name

Document Property Macros

Document property macros use the syntax Document.[Property]. The following macros are available for specifying document properties:

Macro

Notes

&Document.ItemTag

Document drawing number as defined in the Data Dictionary

&Document.Description

Document description

&Document.LastRevision

The latest revision of a document

&Document.DocumentCategory

Document category as defined in the Data Dictionary

&Document.DocumentType

Document type as defined in the Data Dictionary

&Document.ItemStatus

Document status as defined in the Properties window for a document

&Document.YYY

User-defined field name where YYY is any other property defined in the Data Dictionary

&Document.ActiveCaseName

Retrieves the name of the active operating case.

Document Revision Macros

Document revision macros use the syntax Revision.[Property].[Sequence], where [Sequence] is a number that specifies the sequence of the revision. This way, you can arrange revisions in ascending or descending order in the title block. Use the following macros to specify the document revisions in your document title blocks:

Macro

Notes

&Revision.RevisionNumber.x

Revision number

&Revision.RevisionDate.x

Revision date

&Revision.CreateBy.x

Created by

&Revision.CheckBy.x

Checked by

&Revision.RevisionDescription.x

Revision description

&Revision.ZZZ.x

User-defined field name where ZZZ is any other property defined in the Data Dictionary.

Macros for Multi-Sheet Schematics

Multi-sheet schematic macros include the total number of sheets in a schematic drawing, the sequence number of a particular sheet, and a sheet description. Use the following macros to specify properties of multiple sheets in the title blocks of your schematic drawings:

Macro

Notes

&Sheet.Quantity

Defines the total number of sheets in a multi-sheet schematic

&Sheet.Number

Defines the sequence number of a particular sheet

&Sheet.Name

Sheet name

When generating a report, for the correct macros to be retrieved on the title block of your drawing, your working environment must be the same as the drawing. For example, if the objects on your drawing were created in a section of your plant named Unit 1, you must be working in the Unit 1 environment when generating the report, otherwise the software cannot retrieve the correct macros.