Jump to content

BLOCKREPLACE with Dynamic Blocks & Visibility States


MikeS

Recommended Posts

Is it possible to perform a BLOCKREPLACE on dyanmic blocks with visibilty states, without first performing a _resetblock?

 

I need to replace a number of DBs in various visibility states, but cannot do so unless I reset them all first. Apparently ACAD gives the DB's an anonymous block name when changing visibility states, such that BLOCKREPLACE fails due to invalid characters.

 

Thanks. Mike

Link to comment
Share on other sites

I have never used blockreplace so don't know what you are trying to do so can you flesh out the detail a bit.

 

You have one set of dynamic blocks with different visibility states but you want to replace them all with a different block, yes? Does this new block have visibility states too?

 

Does

 

 
-INSERT
OldBlockName=NewBlockName

 

do what you require?

Link to comment
Share on other sites

I need to replace an existing DB with an updated one (that also has visbility states) and yes, I want to maintain all of the visibilty states (and attributes, of course).

 

The -INSERT command does not seem to do the trick. I get a message "can't find file in search path" even though the new block is in the current drawing and also in other files in the path of the current drawing.

Link to comment
Share on other sites

that's odd - it worked here although I didn't try replacing existing DB with new DB. Maybe its a difference between 2008 & 2009.

Link to comment
Share on other sites

I assume you mean using REFEDIT. Sorry, but I never tried that for blocks. Let me work with it and see.

 

Just to be clear - the new block is already created; I don't want to edit one of the existing blocks. Is REFEDIT still an option?

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