Jump to content

LISP to replace blocks with Dynamic block with set visibility states.


Glen1980

Recommended Posts

We have a lot of similar furniture blocks that I have incorporated into one dynamic block with visibility states. I am updating a planning drawing with the older blocks on it and wondered if anyone had a LISP for block replacing one block for another whilst also specifying a visibility state.

Link to comment
Share on other sites

Possibly, if that's a problem I can easily rename the blocks. The names of the existing blocks have spaces in the names would that be problematic?

 

Thanks Lee

Link to comment
Share on other sites

No necessarily a problem - it just makes the code shorter and more generic.

 

If the naming is different, a program could query the block name against a lookup table defined in the code.

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