Tuesday, July 25, 2006

Using a Field to Display the Viewport Scale

You can insert a Field and link it to a Viewport object to display, and automatically update, the Viewport's Zoom Scale Factor.

Insert a Block with Attributes, or just create a piece of Text. Edit the Attribute. Right-click the value and choose insert Field.

In the Field dialog (below), set your Field category to Objects, Set Field names to Object, and click the Select Object Button. Select the Viewport. You'll be returned to the Field dialog; choose Custom scale from the Property column, and choose the desired Format. The Preview area will show the results. Clicking OK will update the Attribute.

In this case we see that my Viewport Zoom Scale Factor is 31/256" = 1'-0" which is close but incorrect. Rescaling the Viewport to 1/8" = 1'-0" and Regenerating the drawing updates the Field.

Now you can see at a glance, whether on the screen or on a plot, whether the Viewport scale is correct.

4 Comments:

At 6:15 PM , Anonymous Anonymous said...

It is a great tip, thanks

 
At 3:27 PM , Anonymous Anonymous said...

Just what i was looking for!!!!

 
At 2:34 PM , Blogger Unknown said...

Is there a way to do this in model space so that the field updates to whatever view-port it gets displayed in, within paper space?

 
At 5:32 PM , Blogger Ward Romberger said...

Hmm, try this: Create the object field as described in my article, i.e. in paper space, then use the CHSPACE command to move the field (text or attib) to model space. the field will still update when the viewport is rescaled.

 

Post a Comment

Subscribe to Post Comments [Atom]

<< Home