Tipster Brad Miller shares a way to automatically update text that displays the scale value of a viewport in AutoCAD's paper space.
"We used to have issues with people forgetting to update the scale in their viewport labels, so with the introduction of Fields I was able to create a viewport label that was linked to the viewport and would automatically update when you changed the scale of the VP.
"To do this, create a new viewport in paperspace. You can use an existing viewport label block, or just create mtext to display your scale. I have a viewport block that I use, but for simplicity let's just create mtext and type Ctrl+F to bring up the Fields dialog box. In the Field category: drop-down menu, select Objects. In the Field names: box below, select Object. Click on the button to the right of Object type: and select the viewport you created in paperspace. In the Property: box below, select Custom scale. Finally, select the Format: you would like to see the scale displayed as. Click OK and your current scale of the viewport is displayed.
"Now if you change the scale of that viewport, the Field will automatically update to the current scale. If you want to create a new viewport with this field linked to the new viewport, just copy both viewports together."
Notes from Cadalyst tip reviewer Brian Benton: Fields are a great way to display information in your drawings. They can be used in any object that has text, including single-line text, multiline text, dimensions, leaders, or annotated blocks. Open a text object to edit it. Press Ctrl+F (or right-click) and select Insert FIeld. There are many options available, but in this case use the Object options. This allows you to display object information as text. You can select any object, in this case a viewport, and display almost any bit of information about it. |