SeaRR85 Posted January 9, 2009 Share Posted January 9, 2009 I'm trying to figure out how to select an object then hit something like CTRL+L to move that object to a specific layer. I tried a simple Macro: -Layer;S;"Name of My Layer" But when I select the object that I want to move on that layer, it will deselect when I run the Macro. Any ideas? I'm using AutoCAD 2007 LT but this is for someone using full blown AutoCAD 2007. I was trying the easier approach with Macros but a LISP routine might do. Thanks! Quote Link to comment Share on other sites More sharing options...
lpseifert Posted January 9, 2009 Share Posted January 9, 2009 macro... put on a button ^c^cselect si \chprop;p;;la;LAYERNAME;; lisp ... add to your acaddoc.lsp file (defun c:cl () (command "chprop" (entsel) "la" "LAYERNAME" "")) Quote Link to comment Share on other sites More sharing options...
SeaRR85 Posted January 9, 2009 Author Share Posted January 9, 2009 Perfect! Genius. Thanks! Didn't know about the change property command. Quote Link to comment Share on other sites More sharing options...
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.