I am trying to do the following. I have drawing with Multileaders in it, all of which have a mleader style wich has "block-a" as content. In these Mleaders I want to change "block-a" to "block-b".
I thought of two possible ways to achieve this:
1. replace the block in the mleader style and regen the drawing. This doesn't work. New Mleaders that I make with the aforementioned style have "block-b" as content but the existing Mleaders keep the old "block-a".
2. replace the block with the BLOCKREPLACE command and bypass the whole Mleader business. This also doesn't work. The blocks that are not part of an Mleader get replaced just fine, but the ones inside an Mleader remain their same old self.
I guess it could be achieved by adjusting "block-a" itself into being similair to "block-b" but this sort of defeats the purpose of being able to choose a block as content for your Mleader style doesn't it? Any thoughts?
Thanks for trying, but it doesn't work quite the way I want to.
first of all, it's not just about one mleader but...let's say quite a few. I could isolate them through various ways and then apply your method but this strikes me as a detour that shouldn't be necessary.
There is another problem however. The block I want to replace has a few Attributes in it. The new block has the same Attributes plus a few extra. Now, when I use your method the data gets mixed up.
For example. "block-a" with Attribute NAME and Attribute COLOR has the value 'awesome' for NAME and a blank value for COLOR. When I use your method I get the value 'awesome' in the COLOR field and the blank for NAME. What's up with that?