Trai Posted September 2, 2021 Posted September 2, 2021 I find a lisp of LEE MAC. But it only select a block to convert a nested block into a primary block, so i want to select simultaneously many blocks to a convert nested block into a primary block. Please help me a lisp for feature above. Cheer for your help ! Quote
SLW210 Posted September 2, 2021 Posted September 2, 2021 I moved your thread to the AutoLISP, Visual LISP & DCL Forum. Please post in the correct forum. 1 Quote
confutatis Posted September 2, 2021 Posted September 2, 2021 I assume that the nested block is present in different primary blocks, otherwise there would be no point in multiple selection. Once the nested block has been extracted, all related primary blocks with the same name are obviously updated. Is my reasoning correct? Quote
tombu Posted September 2, 2021 Posted September 2, 2021 To find answers about a lisp you need to provide a link to where you found it. Lee Mac's website is a great source I lean on but it's only a portion of the code he's posted online. I'm guessing it uses the nentsel lisp function to select the nested block which is only capable of selecting one at a time. Quote
Trai Posted September 2, 2021 Author Posted September 2, 2021 1 hour ago, tombu said: To find answers about a lisp you need to provide a link to where you found it. Lee Mac's website is a great source I lean on but it's only a portion of the code he's posted online. I'm guessing it uses the nentsel lisp function to select the nested block which is only capable of selecting one at a time. this is link: https://apps.autodesk.com/ACD/en/Detail/Index?id=2892642585394787252&appLang=en&os=Win32_64 Quote
Trai Posted September 2, 2021 Author Posted September 2, 2021 1 hour ago, tombu said: To find answers about a lisp you need to provide a link to where you found it. Lee Mac's website is a great source I lean on but it's only a portion of the code he's posted online. I'm guessing it uses the nentsel lisp function to select the nested block which is only capable of selecting one at a time. https://apps.autodesk.com/ACD/en/Detail/Index?id=2892642585394787252&appLang=en&os=Win32_64 Quote
tombu Posted September 2, 2021 Posted September 2, 2021 45 minutes ago, Trai said: https://apps.autodesk.com/ACD/en/Detail/Index?id=2892642585394787252&appLang=en&os=Win32_64 The program allows the user to convert a nested block into a primary block inserted at the same position for each reference of the nested block, retaining the same scale, rotation, orientation and all other properties possessed by the original nested block. If the nested block was inserted inside 20 other block inserts they will all be updated. Hard to see how this could be improved. 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.