Showing posts with label fields. Show all posts
Showing posts with label fields. Show all posts

AutoCAD: Create a Field Displaying the Layout Tab Name

This trick can be useful for several purposes. I needed it to standardize a Titleblock.
Català - Castellano - Deutsch
Fields are very useful to standardise blocks, titleblocks, etc but still allow certain properties of an object to change. In a previous post, we saw how to use fields to display properties of a dynamic block. Today, I wanna show you how to use a field on a titleblock to show the Layout Tab name.
We need of course to have a tittleblock we want to use, then we will insert a text, dtext or mtext with the "fixed" part of the text of the titleblock. For the aprt we want to show the Layout Tab Name, we need to insert a field.
To do that, you can either righclick inside the text area and select Insert Field, or you can use the FIELD command directly. Once you insert the Field, you will be prompted to select the variable the Field will show. Here is where you need to take note.

Select "System Variable" in the Field Name Column. Then Select "ctab" on the System Variable column. And then finally specify on the right the format of the text. See Below.

That's it. now if you rename the Layout Tab, the field will change accordingly.

Show me more...