Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

How to find and replace special characters in layer

jocke.o92
Enthusiast

How to find and replace special characters in layer

jocke.o92
Enthusiast
Enthusiast

I work with a foreign language, which use letters like Ö,Ä,Å. I get some drawings containing this letters and this creates some problem when doing machine control and using dxf. Those characters' kind of breaks the dxf in the machine.


Is there an easy way to take those letters in the layer and change them to O,A,A? Maybe a lisp that could be modified.

0 Me gusta
Responder
855 Vistas
3 Respuestas
Respuestas (3)

pendean
Community Legend
Community Legend
>>>...Those characters' kind of breaks the dxf ...<<<
LISP will not overcome DXF issues with those special characters.
0 Me gusta

Valentin-WSP
Mentor
Mentor

@jocke.o92 ,

 

Try reading these links:

 

Might also want to look into installing the Swedish Font (if available) - these links may provide some help:



Please select the "Accept as Solution" button if my post solves your issue or answers your question.


Emilio Valentin
0 Me gusta

vladimir_michl
Advisor
Advisor

You can use regular expressions in the RRENAME LISP utility (free). Just set the Layers option, search for:
[^\x20-\x7F]

and replace it e.g. with:

_

You may need to repeat this several times.

See https://www.cadforum.cz/en/rename-on-steroids-complex-renaming-of-autocad-objects-tip9265

 

Vladimir Michl, www.arkance-systems.cz - www.cadforum.cz

 

0 Me gusta