←  Technical Questions

nanoCAD forum

»

Lisp Linetype

J.Plunus's Photo J.Plunus 26 Sep 2019

Hello,
could you correct the syntax?
Having no information in the command line, it is not easy to find the correct commands.

Correct syntax on AutoCAD

(if (not (tblsearch "LTYPE" "P_AXE_1"))
(command "linetype" "l" "P_AXE_1" "H:\\NanoCAD\\Cfg\\P_ALL_LINE1" "")
(command "linetype" "l" "P_AXE_1" "H:\\NanoCAD\\Cfg\\P_ALL_LINE1" "y" "")
)


Thank you in advance for your help.
JP
Quote