Jump to content

How to convert a nested block into a primary block inserted at the same position for each reference of the nested block


Trai

Recommended Posts

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 !

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

45 minutes ago, Trai said:

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. 

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...