MikeS Posted May 29, 2009 Posted May 29, 2009 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 Quote
dbroada Posted May 29, 2009 Posted May 29, 2009 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? Quote
MikeS Posted May 29, 2009 Author Posted May 29, 2009 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. Quote
dbroada Posted May 29, 2009 Posted May 29, 2009 that's odd - it worked here although I didn't try replacing existing DB with new DB. Maybe its a difference between 2008 & 2009. Quote
ronjonp Posted May 29, 2009 Posted May 29, 2009 All you need to do is redefine the block...just tested over here with a dynamic block and it worked fine. Quote
MikeS Posted May 29, 2009 Author Posted May 29, 2009 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? 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.