Message 1 of 7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi, this is a silly thing to fall over on, but it's been a long time since I looked at Lisp.
All I want to do is create a button on my ribbon that when pressed, draws a polyline on a layer using a LTS of 0.25, then returns the user to the previous layer and resetting the LTS back to 1.0.
Assume the new layer already exists in the drawing (I use STEALv1-8.lsp to import the layer, after the defun command).
All I've got is:
(defun c:drawline_non-printing ( )
(setvar 'clayer "- non printing")
(command "_pline")
(princ)
)
Hahaha
Any help / ideas?
Thanks
Civil 2018
Solved! Go to Solution.