Quantcast
Viewing all articles
Browse latest Browse all 14319

Load Line types with Lisp

Is it possible to load a lin file using lisp (still learning)? I have come up with the following, but seems to crash on my path.

 

Thanks in advance for the help...

 

(defun c:LoadLinetypes ( )

(setvar 'CMDECHO 0)

(command "-linetype" "_Load" "" "C:\Users\Public\Autodesk\R19.1\linetypes\company.lin" "")

(*error* nil)
(princ "\nLinetypes have been loaded ")
(princ)
)

Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 14319

Trending Articles