HEA-Lisp is not working in BricsCAD
Hi!
I have an issue with my HEA Beams. (Also with my HEB and IPE Beams)
This lisp make drawings of HEA Beams in cross section or side or top.
It works great in AutoCAD but BricsCAD doesn't work?
I choose which beam ( it still go good) (Make your choice : nr 2 (i fill in nr 2))
But next option: Choice of cross section, side, top it hits a error
Please help me (i am Lisp noob)
Comments
-
The issue is that the LISP is using "T" as a variable. This is possible in AutoCAD but not in BricsCAD.
You need change the code to replace "T" with a different variable name e.g.
(setq t 8.0)
⇒(setq thk 8.0)
You also have to find and replace this variable with the new name where ever it has been used in the code. e.g.
(setq h1 (- h (+ (* 2 r) (* 2 t))))
⇒(setq h1 (- h (+ (* 2 r) (* 2 thk))))
More info on protected names here
1 -
Like Jason T is used as a short cut for True in lots of lisp coding.
(getstring T "\nEnter new text ") the T allows for spaces in the entered string.
0 -
Thanks i change the lisp and it works!!! Big Thanks now i can rewrite the other 3!!!!!
0