motee-z Posted September 30, 2008 Share Posted September 30, 2008 hello i want to insert my block through autolisp routin my block is for example found in folder somewhere in my computer and make this block directly to layer i have to insert several blocks in my drawing and every block must on a different layer it takes time to creat layers and attach this layer to every block thank you Quote Link to comment Share on other sites More sharing options...
ReMark Posted September 30, 2008 Share Posted September 30, 2008 Take a look at this: http://cadtips.cadalyst.com/content/force-blocks-specific-layers Quote Link to comment Share on other sites More sharing options...
motee-z Posted October 1, 2008 Author Share Posted October 1, 2008 that mean it is impossible to be one line something like this (defun c:insblk(/) (COMMAND "INSERT" "my block.DWG" (GETPOINT) "1" "1" "0" ) '("layer1" "cyan" ""))) Quote Link to comment Share on other sites More sharing options...
ReMark Posted October 1, 2008 Share Posted October 1, 2008 I thought you might be looking for something a little more sophisticated. Yes, it can be a one line LISP routine or even a macro. It's really your choice. 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.