Jump to content

how do you enter the degree symbol?


MikeP

Recommended Posts

If you are in a standard text line, you can type '%%d'. If you are in MTEXT, you can right click to get a list of symbols that you can place in text, and what you would need to type.

Link to comment
Share on other sites

  • 10 years later...
On 10/21/2008 at 11:10 PM, NaeKid said:

You can use the Unicode for it as well ..

 

\U+00B0

 

Works fine.

This symbol is used to represent degrees in many different fields, such as angle or temperatures. It is obtained by drawing a small circle as a superscript. The Unicode of the icon is U + 00B0. 

 

For PC: On your keyboard, press Alt + 0176. Note: This method works only for keyboards that include a 10-key numeric pad.

 

Like this:

Link to comment
Share on other sites

  • 3 months later...

Don't forget the others m squared and m cubed. Used a lot. ² ³ alt+0178 & 9

 

Also fonts like Dingbats ?  have some quirky ones that come in handy like number in circle. 

 

Now where is that font viewer that shows key code. https://www.alt-codes.net/ varies depending on font.

 

 

Edited by BIGAL
Link to comment
Share on other sites

On 1/4/2020 at 8:55 AM, Jack_O'neill said:

in mtext you can also use the key combo alt+248.  That is to say, hold down the alt key and press 248 then release.

 That's what I use also.

Link to comment
Share on other sites

  • 4 months later...

Complete list NO ! 256 characters are available in most font families. That's just the Mtext list.

 

Try out (chr x) change your text style font to see the differences.

 

(setq str "")
(setq x 30)
(repeat 220
(princ "\n")
(princ (chr x))
(setq str (strcat str (chr x)))
(setq x (+ x 1))
)

(setq obj (vlax-ename->vla-object (car (entsel "Pick a text object "))))
(vla-put-textstring obj str)

image.thumb.png.a005ff99a6f5583d6bc2717a4ae6d861.png

Link to comment
Share on other sites

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...