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,410 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,411 Views
23 Replies
Replies (23)
Message 21 of 24

galkin_vadim_prog
Enthusiast
Enthusiast

Waiting for a solution to the problem with AutoLISP

0 Likes
Message 22 of 24

paullimapa
Mentor
Mentor

yep, that's how it's designed so stick with 1 or 3 as shown in documentation:

paullimapa_0-1742491142515.png

https://help.autodesk.com/view/ACD/2018/ENU/?guid=GUID-1ED138FF-2679-45C4-9C2C-332A821C9D12

 


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

paullimapa
Mentor
Mentor

best to submit a trouble ticket by signing into your Autodesk ID


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

galkin_vadim_prog
Enthusiast
Enthusiast
VS work, AutoLISP not work

##- Введіть свою відповідь над цим рядком -##
0 Likes