When using field value it shows the "temporary value" in the layout sheet.

When using field value it shows the "temporary value" in the layout sheet.

Pr0zAc311
Explorer Explorer
254 Views
3 Replies
Message 1 of 4

When using field value it shows the "temporary value" in the layout sheet.

Pr0zAc311
Explorer
Explorer

I'm very new to Autocad. I have a viewport within a layout sheet. I want the sheet block to give the "viewportscale" but when I input any formula for this it just shows "ViewportScale" within the field. It does not update on regen etc. 

I was able to get it to use the layout name for the field for Lot # but it will not work for the ViewportScale.

 

Any help would be appreciated. I do not load or use lisp.Screenshot 2023-10-30 104141.png

0 Likes
255 Views
3 Replies
Replies (3)
Message 2 of 4

user181
Mentor
Mentor

How are you setting up the field?  Have you tried using category Object and selecting the viewport and choosing the property Standard Scale?

 

VPSCALE.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

EESignature


0 Likes
Message 3 of 4

Pr0zAc311
Explorer
Explorer

Thanks for the kind reply! I went there and was able to pull that value but it is for that layout only. I wanted something that I could fill in on the block editor or I could use to input into the paperspace layouts via the GATTE command that would populate that field on all layouts with each layouts custom scale or standard scale.

 

So I'm searching for one expression that could be used to output the scale for the vierwport in each paper space. Each Viewport appears to have it's own object id. Again, I am very new to AutoCad. Thanks again!

0 Likes
Message 4 of 4

Pr0zAc311
Explorer
Explorer

I found this. Looks like there is no non Lisp way to do this for now.

 

https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/field-update-customscale-viewport/td...

 

Thanks for helping!

0 Likes