Visual LISP, AutoLISP and General Customization

Reply
*Maclean, Ian
Message 1 of 2 (99 Views)

special characters in MTEXT ????????

99 Views, 1 Replies
09-10-2001 01:01 AM
Here's the scoop:

Client has added special characters to their Release 2.6 ROMANS.SHX file.
Traditionally, they access the characters using their decimal code (%%131,
%%132, etc.). This does not work in MTEXT, however.

I have "converted" these special characters to the ROMANS Unicode font. The
%%131 method still works in DTEXT and TEXT, but does not work in MTEXT. The
only way to get the characters in MTEXT is, of course, to input their
hexadecimal value (\U+0082, \U+0083, etc.).

Question:

What is the method or shape file syntax for defining special characters
similar to AutoCAD's diameter and degree symbols, where a letter key code is
used (%%C or %%D, for example)? Can I assign my special characters to other
keys using the "%%" mechanism (%%X or %%Y for example)? I know I can
replace a keyboard character with the special symbol, but that's not
desirable.

Thanks,

Ian
*Saadallah, Dean
Message 2 of 2 (98 Views)

Re: special characters in MTEXT ????????

09-10-2001 02:49 AM in reply to: *Maclean, Ian
Try this tip from www.dotsoft.com:

If you used special characters in TEXT objects, such as %%130 for the
centerline symbol, when using MTEXT this coding does not work.

There is a big difference in the behavior of special characters between TEXT
and MTEXT objects. In MTEXT objects you do don't
use %%###, instead ...

1) Press and hold the Alt key.
2) Type your 4-digit code on the number pad, like 0129.
3) Release your Alt key.

The character that shows in the editor doesn't reflect the actual character,
but then neither did %%129.

--
Dean Saadallah
www.pendean.com
--


"Ian Maclean" wrote in message
news:smileyvery-happy:8010C25B3EA1A533C6D9959FE0A1FA0@in.WebX.maYIadrTaRb...
> Here's the scoop:
>
> Client has added special characters to their Release 2.6 ROMANS.SHX file.
> Traditionally, they access the characters using their decimal code (%%131,
> %%132, etc.). This does not work in MTEXT, however.
>
> I have "converted" these special characters to the ROMANS Unicode font.
The
> %%131 method still works in DTEXT and TEXT, but does not work in MTEXT.
The
> only way to get the characters in MTEXT is, of course, to input their
> hexadecimal value (\U+0082, \U+0083, etc.).
>
> Question:
>
> What is the method or shape file syntax for defining special characters
> similar to AutoCAD's diameter and degree symbols, where a letter key code
is
> used (%%C or %%D, for example)? Can I assign my special characters to
other
> keys using the "%%" mechanism (%%X or %%Y for example)? I know I can
> replace a keyboard character with the special symbol, but that's not
> desirable.
>
> Thanks,
>
> Ian
>
>

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community