Jump to content

Replacing one dynamic block with another


asteffy

Recommended Posts

As most of you know, blockreplace will not work with dynamic blocks. I've tried to locate a routine in which I can replace one selected dynamic block with a named dynamic block. For example replace edoor with door. Any help would be greatly appreciated.

Link to comment
Share on other sites

It's a bit weird to do this. You get similar issues with DB parameters as you do with attributes. A quick manual method of going about it is as per my post here: http://www.cadtutor.net/forum/showthread.php?76512-How-to-replace-dynamic-block-in-a-drawing-without-losing-data-!&p=516267&viewfull=1#post516267

 

The issue is that 2 different block definitions might have named the attribute and/or db parameter with a different name. Not to mention they might have more (or less) of those attr's and params. So a simple one-click routine is probably not possible. It will require something which asks the user which parameter from the old block to map onto which parameter of the new version. And then what happens if there are less parameters in the new block, should the old versions simply be thrown away? If there are more should they be left at their defaults?

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