How to display the name of the drawing

Suppose you need to insert the name property of the drawing itself into the drawing (for example inside the title block), preceded by "Layout:" and to remind designers to set this property. You will have to create a text string like the following:

 

Layout: $M{DOCNAME="Remember to set name property in the drawing"}

 

where:

So, the symbolic expression to be used in a drawing to display the value of a property associated to the drawing itself model is $M. See "Available Symbolic Expression Identifiers" for more information.


Set the default value

If no value is specified in the string defining the model name ($M{DOCNAME=""}), a default string will be displayed: <document name>.
As the size of such string may exceed the space assigned to the corresponding field, it is strongly recommended that you set a default value by assigning the property a blank character:

$M{DOCNAME=" "}

This way, no string will be displayed and the space occupied will be the same as the one of a blank character.