LISP code does not work in the Russian version of AutoCAD, letters are not displayed correctly in the editor.

LISP code does not work in the Russian version of AutoCAD, letters are not displayed correctly in the editor.

galkin_vadim_prog
Enthusiast Enthusiast
1,402 Views
23 Replies
Message 1 of 24

LISP code does not work in the Russian version of AutoCAD, letters are not displayed correctly in the editor.

galkin_vadim_prog
Enthusiast
Enthusiast

https://www.youtube.com/watch?v=g1pEGcQaYYw

 

(defun c:A4 ()

   (command "RECTANG" "0,0" "297,210")

)

 

galkin_vadim_prog_0-1742032535267.png

 

https://www.youtube.com/watch?v=AW7RXho38_I

 

(defun C:HEXAGON (/ center radius angle p1)
(setq center (getpoint "\nSpecify center point: "))
(setq radius (getdist center "\nSpecify radius: "))
(setq angle (/ pi 3)); 60 degrees in radians
;; Create 6 points for the hexagon
(setq p1 (polar center (* 0 angle) radius))
(command "pline" p1)
(repeat 6
(setq p1 (polar center (* angle 1.0) radius))
(command p1)
(setq angle (+ angle (/ pi 3)))
)
(command "close")
(princ "\nHexagon created successfully.")
(princ)
)

 

 

 

 

 

 

 

 

 

 

 

0 Likes
1,403 Views
23 Replies
Replies (23)
Message 2 of 24

paullimapa
Mentor
Mentor

@galkin_vadim_prog What AutoCAD version number are you running?


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes
Message 3 of 24

galkin_vadim_prog
Enthusiast
Enthusiast

AutoCAD 2025 — Русский (Russian)

galkin_vadim_prog_0-1742105505677.png

 

galkin_vadim_prog_1-1742105517034.png

 

0 Likes
Message 4 of 24

paullimapa
Mentor
Mentor

See if it makes a difference installing the 2025.1.1 update

Also have you tried installing VS Code instead of continuing to rely on VLide to program which Autodesk no longer recommends?

AutoCAD 2025 Developer and ObjectARX Ayuda | Getting Started with Visual Studio Code (AutoLISP/VS Co...


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes
Message 5 of 24

galkin_vadim_prog
Enthusiast
Enthusiast

Іn the English version of AutoCAD 2025 1.2 all examples work!
In the Russian version of AutoCAD 2025 1.2 only the first example works!

The second example causes an error.

1. Is there a version of Autolisp in Russian?

2. How to Change Autolisp Editor from Command Line?
3. Іn the first video there is an input in the command line near the cursor how to do this?
https://youtu.be/g1pEGcQaYYw?t=68

 

0 Likes
Message 6 of 24

paullimapa
Mentor
Mentor

Don’t think there’s a Russian version. 
The LISPSYS system variable controls which editor is used:

https://help.autodesk.com/view/ACD/2024/ENU/?guid=GUID-1853092D-6E6D-4A06-8956-AD2C3DF203A3
For the answer to your last question are you referring to dynamic input?

https://www.autodesk.com/support/technical/article/caas/sfdcarticles/sfdcarticles/How-to-enable-or-d...


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes
Message 7 of 24

galkin_vadim_prog
Enthusiast
Enthusiast

Where are the Visual Studio program path settings located?

0 Likes
Message 8 of 24

galkin_vadim_prog
Enthusiast
Enthusiast

What button in the video do you need to press to enter the command to execute?

0 Likes
Message 9 of 24

paullimapa
Mentor
Mentor

After entering LISPSYS and setting that to either 1 or 2 you have to close and restart AutoCAD. Then you should be able to enter VLISP command and VS Code should open. 


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes
Message 10 of 24

galkin_vadim_prog
Enthusiast
Enthusiast

Yes, VS Code open

0 Likes
Message 11 of 24

galkin_vadim_prog
Enthusiast
Enthusiast

There are two questions left
1. Is that the English Autolisp does not work in the Russian version?
2. How to enter a command line command near the mouse? https://youtu.be/g1pEGcQaYYw?t=68

0 Likes
Message 12 of 24

paullimapa
Mentor
Mentor

Since I don’t have Russian version of AutoCAD I cannot answer you. But I don’t see why it doesn’t work. As long as you’re using the English command functions and to invoke the English commands by preceding with an underscore that is _Line. 
I believe I already answered your second question on entering commands at the mouse cursor by enabling dynamic input. 

  • Press the F12 key to toggle Dynamic Input on and off.
  • Change the DYNMODE system variable value to 1, 2, or 3 for ON, or 0 for OFF (see DYNMODE (System Variable) for more information on the differences).


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes
Message 13 of 24

vince_aman
Participant
Participant

What version of Windows? I'm having issues with foreign characters in Windows 11, while everything works fine in Windows 10... 

0 Likes
Message 14 of 24

galkin_vadim_prog
Enthusiast
Enthusiast

Windows 11

0 Likes
Message 15 of 24

paullimapa
Mentor
Mentor

Time to submit  trouble ticket to inform Autodesk 


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes
Message 16 of 24

galkin_vadim_prog
Enthusiast
Enthusiast

galkin_vadim_prog_0-1742483488652.png

Dynamic input by F12 works, command input does not work as in the video.

galkin_vadim_prog_1-1742483830230.png

How to make such command input from the mouse?

0 Likes
Message 17 of 24

vince_aman
Participant
Participant

Did this work before? Did it work in Windows 10?  Or can you test in Windows 10? 

0 Likes
Message 18 of 24

paullimapa
Mentor
Mentor

odd...what is your dynmode set to?


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes
Message 19 of 24

paullimapa
Mentor
Mentor

All controlled by dynamic input as stated by Autodesk:

https://www.autodesk.com/support/technical/article/caas/sfdcarticles/sfdcarticles/distance-command-d...
If still doesn’t work even after setting dynmode to 3 then try resetting AutoCAD 

https://www.autodesk.com/support/technical/article/caas/sfdcarticles/sfdcarticles/How-to-reset-AutoC...


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes
Message 20 of 24

galkin_vadim_prog
Enthusiast
Enthusiast

DYNMODE on 1 or 3 works!
DYNMODE on 0 or 2 does not work!

0 Likes