delkovebay 发表于 2022-7-5 18:07:36

[LISP] Cyrilic problems

Hi, guys. I have sme trouble with my linetype_name, i.e
linetypename is "70 тест", but if I want to obtain it by vla:
(setq e_linetype (vla-get-Linetype vla_ent))
I see "70 ????".
 
How to fix it?
 
Cad is russian.
 
Many thanks!

Lee Mac 发表于 2022-7-5 18:47:15

Retrieve the linetype name from DXF group 6 [ (cdr (assoc 6 (entget (car (entsel))))) ]
 
Non-ASCII characters are substituted with question marks when retrieving ActiveX properties.
 
[ https://www.theswamp.org/index.php?topic=50855.0 ]

delkovebay 发表于 2022-7-5 18:48:40

Like usual, thanks, legend of LISP

Lee Mac 发表于 2022-7-5 19:15:22

........
页: [1]
查看完整版本: [LISP] Cyrilic problems