character map and lisp

character map and lisp

m.voss.alvine
Advocate Advocate
962 Views
2 Replies
Message 1 of 3

character map and lisp

m.voss.alvine
Advocate
Advocate

i am looking to run a find & replace from a lisp.  I am looking to replace mtext with a special character from the character map.  Example - replace %%C with Ø.  I have the find & replace lisp.  having trouble defining the special character.

Revit MEP 2015 Certified Professional
Revit Architecture 2015 Certified Professional
AutoCAD 2015 Certified Professional


remember to 'accept as solution' if this helped
0 Likes
963 Views
2 Replies
Replies (2)
Message 2 of 3

ВeekeeCZ
Consultant
Consultant

Try THIS routine by CadStudio, and its SRXTEXT2 command. Read the txt file for some examples.

 

It works, tried it.

Message 3 of 3

Kent1Cooper
Consultant
Consultant

@m.voss.alvine wrote:

....  I am looking to replace mtext with a special character from the character map.  Example - replace %%C with Ø.  I have the find & replace lisp.  having trouble defining the special character.


This is the way for that capital-O-with-a-slash character in a FIND command:

 

Diameter.PNG

 

That's a backslash, capital U, plus sign, and 00D8 [those are two zeros].

 

For other special characters, in the Text Editor ribbon in newer versions there's a Symbol button [with a @ over the word] -- pick that, pick Other... at the bottom, find the character you want and pick it, and at the bottom of the dialog box it shows the U+ code [without showing the necessary backslash].

Kent Cooper, AIA
0 Likes