Jump to content

insert block on predefined layer


motee-z

Recommended Posts

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

Link to comment
Share on other sites

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" "")))

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...