Anuncios

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

jocke.o92
855 Vistas, 3 Respuestas

How to find and replace special characters in layer

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.

pendean
en respuesta a: jocke.o92

>>>...Those characters' kind of breaks the dxf ...<<<
LISP will not overcome DXF issues with those special characters.
Valentin-WSP
en respuesta a: jocke.o92

@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
vladimir_michl
en respuesta a: jocke.o92

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