Saturday, June 6, 2009

Displaying layout name in dynamic text fields.

If you want to copy a text or block into multiple layouts in your drawing, you may want to use an automatic text which will display the name of the respective layout (paperspace).

You can use the Field functionality for this - just insert a field and use the "Other" category, and the "System variable" CTAB value. Or just copy the following line (field code) as a DText:

%<\AcVar ctab>%

The same text will then read e.g. "Layout1" in the first (default named) layout, "Layout2" in the second, etc. This applies both for modelspace and paperspace text entities.

No comments:

Post a Comment