Scoutr4 Posted 3 hours ago Posted 3 hours ago Hi everyone, I encountered a problem yesterday. I have a Block.dwg file. I call the Block.dwg file into the A.dwg file and make edits within Block. After that, I run lisp. At this point, I encounter the following error. When I insert the same Block again If I insert it with (command "-insert"). It is based on the block in A.dwg and the block I insert looks like it. If I use the (vla-insertblock) function, it moves according to the inserted block and the blocks in A.dwg look like the block I inserted. What is the reason? Quote
Steven P Posted 1 hour ago Posted 1 hour ago Are you able to post a copy of the LISP so we can see what is happening? Sounds like your (command method is referring to the source file and the (vla- method is referring to your working file Quote
Scoutr4 Posted 9 minutes ago Author Posted 9 minutes ago I prepared a block dwg file and a example dwg file. And of course the lsp file for comparison. I deleted the inner part of the block in the example dwg file. Without deleting this block, add the second block using the commands in the lsp file. Note : link for vla-insertblock >> https://www.afralisp.net/archive/methods/lista/insertblock_method.htm (I just changed the item line to select it) BLOCK.dwg EXAMPLE.dwg EXAMPLE.lsp 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.