ibach Posted January 11, 2013 Share Posted January 11, 2013 I have dynamic block consisting of one hidden dimension line whose value is read in the attribute that shows, and some simple geometry, 3 stretches 2 flips and few visibilities. I need to replace it with block that has same elements, but a little different geometry, and a different name. Quote Link to comment Share on other sites More sharing options...
irneb Posted January 12, 2013 Share Posted January 12, 2013 You should be able to use the express tool BlockReplace. Just ensure that the parameters and attributes are named the same - since you might need to run AttSync afterwards. Or select the blocks, clip to a new blank DWG, rename, then copy back. Quote Link to comment Share on other sites More sharing options...
ibach Posted January 12, 2013 Author Share Posted January 12, 2013 It could be done, but something went wrong with my blocks... BlockReplace does not work Quote Link to comment Share on other sites More sharing options...
irneb Posted January 12, 2013 Share Posted January 12, 2013 And the clip-paste-rename-copy-paste idea? Quote Link to comment Share on other sites More sharing options...
ibach Posted January 12, 2013 Author Share Posted January 12, 2013 I do not think i understand, could you explain? Quote Link to comment Share on other sites More sharing options...
irneb Posted January 12, 2013 Share Posted January 12, 2013 Make sure your new block is already inserted into the DWG before (i.e. the definition is already there) Select the old version block(s) in the original DWG. Press Ctrl+X to cut them out of the DWG. Make a new blank DWG. Paste to original Coordinates. Type Rename, select the block in the rename dialog, rename it to the new blockname, click OK. Select the blocks again, press Ctrl+C (Copy to clipboard). Swap back to the original DWG. Paste to original coordinates - the blocks will come in as if they're the new version. Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted January 12, 2013 Share Posted January 12, 2013 Make sure your new block is already inserted into the DWG before (i.e. the definition is already there) Select the old version block(s) in the original DWG. Press Ctrl+X to cut them out of the DWG. Make a new blank DWG. Paste to original Coordinates. Type Rename, select the block in the rename dialog, rename it to the new blockname, click OK. Select the blocks again, press Ctrl+C (Copy to clipboard). Swap back to the original DWG. Paste to original coordinates - the blocks will come in as if they're the new version. Just be careful when using this method with attributed blocks if the number of attributes or the attribute tag names vary between the two block definitions; an ATTSYNC operation will rectify the problems encountered but will lose some attribute values. Quote Link to comment Share on other sites More sharing options...
irneb Posted January 12, 2013 Share Posted January 12, 2013 Just be careful when using this method with attributed blocks if the number of attributes or the attribute tag names vary between the two block definitions; an ATTSYNC operation will rectify the problems encountered but will lose some attribute values.Similar to my first post: ...Just ensure that the parameters and attributes are named the same - since you might need to run AttSync afterwards...Note, it's worse than only attributes - it's DB params as well. So rather have the new block's attribs & DB-params named the same. Then there's less possibility of losing data. You can later rename the params back in BEdit, and the attributes through BAttMan. Quote Link to comment Share on other sites More sharing options...
ibach Posted January 12, 2013 Author Share Posted January 12, 2013 (edited) Thank you good people for your answers. That is how i will do it, and I've known it for a while, but, in this dwg there is so many stupidities as block in block in block, about 200 primary blocks which contain other blocks of which some contain others. Of course secondary blocks are contained in more than one primary block... Girls got fired yesterday, missed the deadline twice over, and the boss just passed those files to me to finish the job. Pity, the girls were ok architects, but computer wizards... Ill just have to disassemble this file to elementary blocks and assemble it over again. At least it's gona get smaller. (superpurge is running for an hour and not finished yet... bah ) Edited January 12, 2013 by ibach Quote Link to comment Share on other sites More sharing options...
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.