martymoose Posted November 18, 2008 Posted November 18, 2008 I am looking for a quick lisp that will let me take the last selected point in my drawing and make that the current layer. Quote
lpseifert Posted November 18, 2008 Posted November 18, 2008 Edit the code I wrote for you by taking the line that says (setvar "clayer" oldlayer) out or... why not use express tools' Laymcur command? Quote
martymoose Posted November 18, 2008 Author Posted November 18, 2008 Okay, that worked. I just don't know enough about editing lisp, to make any edits myself. This was my other thought.... 1. insert my block as normal, snapping to my line as I always do (atleast this way I can preview my block on my cursor, as I am inserting it) 2. run lisp that takes the layer of the 'lastpoint' and makes this my current layer or 'clayer'. 3. run 'laycur' command converting my 'last' block to the current layer. 4. layerp Quote
lpseifert Posted November 18, 2008 Posted November 18, 2008 you're welcome as for 1-4 see here http://www.afralisp.net/ Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.