Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

Jonathan.Gray68UQW
1749 Vistas, 5 Respuestas

Auto-updating text based on viewport scale

In our standard title block we have a line that reads 1"=xxx' and it is always reported in inches vs feet as I show.  Is there a way that I can get autocad to replace the xxx with scale we are zoomed to?  Also if I have multiple viewports is there a way I can assign or choose which viewport that I wish to have the zoomed to scale displayed?

imadHabash
en respuesta a: Jonathan.Gray68UQW

HI,

BY Text Filed you can do that , while you're in the text dialog for editing ( xxx in your case ) right click and select Insert Field option , after that follow the image below . and remember to make Regen command after you change your VP zoom scale .

 

fsfsf.PNG

you have to select the VP that the text read from by the button up there beside object type . 

Imad Habash

EESignature

Moshe-A
en respuesta a: Jonathan.Gray68UQW

@Jonathan.Gray68UQW  hi,

 

Start a TEXT under the viewport, at enter text value: right click and select Insert field...

in Field dialog box: 

from Category field pick: objects

from object type: select the viewport

under property pick: Custom scale

under format select your format

 

enjoy

moshe

 

 

Jonathan.Gray68UQW
en respuesta a: imadHabash

Hey! Thanks for working with me, and this gets me halfway there. Our workflow is to first create a viewport and then insert in the bar scale from the tool pallette. Would you know of a way that I could bring in my bar scale block via the tool pallette and then select the viewport I want my bar scale linked to so that the text would auto update?  I have attached an example of our bar scale block for reference.  The good thing about this is that I don't ever want the actual bar scale to change just the text that is displayed.

imadHabash
en respuesta a: Jonathan.Gray68UQW

 AutoCAD can not do it automatically , you have to link your text with VP.

 

Imad Habash

EESignature

Our title blocks always say 'scale as noted', while we use the fields method to apply custom scales to viewports as outlined above. Not sure about bars though...

If by some odd chance my nattering was useful -- that's great, glad to help. But if it actually solved your issue, then please mark my solution as accepted :cara_con_una_leve_sonrisa: