Jump to content

Recommended Posts

Posted

Hi, I would like to know is their's a way of putting text size relative to screen

 

Thank !

Posted

Not that I am aware of. Why?

Posted

Which screen? Modelspace, paperspace, or viewport. Those are the only choices, but the answer is yes. Set up an annotative text style, at the height you want it to appear on whichever view (screen) you wish, turn on Automatic Annotative scale adding, then no matter which of the above three you view the text in, it will appear the same size relative to the current view scale. The text will also print at the very same size. Annotative text will scale itself to the correct height based on the scale of the current view.

 

However, in modelspace the text height will show at whatever annotative view scale you pick for it. (Not the same as scaling in modelspace.) This means, if you created the text to appear at 1/8" high in your viewports, (paper) and you set your modelspace annotative view scale to 1:1, your text will be actually 1/8" tall in modelspace.

Posted
Which screen?

 

I took screen to mean the OPs monitor.

Posted
I took screen to mean the OPs monitor.
Yep, me too. After all, that would be the one they'ed be viewing the text with. But, if that were all there was to it, the answer would be "Zoom Wheel".
Posted

This is a case of a poorly worded question. I think the question reads as the OP wanting text on the "screen" to adjust as he is zooming, i.e. text that is x number of pixels on the "screen" will stay x pixels no matter the zoom level.

 

I cannot see anything but a mess being created out of that, so you probably are answering what he really is trying to ask.

 

The world may never know...

Posted

Possible with Autocad Map3d using Data Connect and labels, but yes it can be a mess if you don't know the math. ;)

Posted
The world may never know...
Maybe the OP can't check in from home. We could find out more Monday. If doable, I have a co-worker who deserves a prank that would make his text stay the same screen size no matter what the zoom level is. Maybe there is a way to lock it to a certain physical pixel count or just have it not scale with zooming, like modelspace lineweight display is, via lisp.
Posted
Possible with Autocad Map3d using Data Connect and labels, but yes it can be a mess if you don't know the math. ;)

 

I came here to say this^^^^, but of course the Murph was already on the ball with it.. :-)

Posted
I came here to say this^^^^, but of course the Murph was already on the ball with it.. :-)

 

No football or NASCAR on TV so had to surf the forums. :)

  • 1 year later...
Posted

I solved this very simple :

 


(vla-Put-Height yourText (* (getVar "viewSize") 0.03)  ) 

 

and it's working very fine !

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...