Block multileader attribute layers

Block multileader attribute layers

randomuser42
Explorer Explorer
1,536 Views
6 Replies
Message 1 of 7

Block multileader attribute layers

randomuser42
Explorer
Explorer

Hi All,

 

I could use some help with figuring out why AC is doing this.  In my drawing, I have a block containing multiple layers and on those multiple layers, there are numeric attributes on each of those layers.  I do this because I have to (sort of) censor the data in multiple layouts using layer states applied to each layout.  

 

If I insert the block normally, this works fine.  However, if I attach the block to a multileader and place the multileader, the attributes seemingly lose their layer assignment and the values no longer follow how I have the layer states set on the layouts (but you can see this behavior even in Model space -- screenshot below:  The block attached to the MLEADER show the '0' attribute values without the layer color whereas the block not attached to a MLEADER on the right shows the attributes still having their layer color ).

 

Edit: AutoCAD 2018

 

MLEADER-BLOCK.png

 

Does anyone have a thought on how to get the MLEADER connected with a block to respect the layer settings on the attributes?

 

Thank you!

 

R

 

PS: I should comment that if I EXPLODE the MLEADER with block, the block will behave again.

0 Likes
Accepted solutions (1)
1,537 Views
6 Replies
Replies (6)
Message 2 of 7

Libbya
Mentor
Mentor
Accepted solution

I haven't ever tried to control the layers within a block attached to a multileader.  An alternative that seems like it would do what you want is to add the leader arrow to the dynamic block and then put a stretch on it so it simulates the multi-leader.  The layers will then turn on/off as expected.  See screencast.

 

 

Message 3 of 7

randomuser42
Explorer
Explorer

That's a good idea.  I'll run with it. 

 

Many thanks Libbya!

0 Likes
Message 4 of 7

Libbya
Mentor
Mentor

I should have explored your multileader a little bit before posting the workaround.  After a bit of cogitation on why the layers wouldn't work with the multileader I had an epiphany.  It's because your layer 0 is frozen!  Unfreeze layer 0 and the layers turn on/off within the multileader as expected.  

0 Likes
Message 5 of 7

randomuser42
Explorer
Explorer

I unfroze 0 everywhere I could find it and it's still doing the same thing.  Did you edit the block with 0 unfrozen or something to get it to act normally for you?

0 Likes
Message 6 of 7

Libbya
Mentor
Mentor

Actually in looking at that some more, it seems like the multileader respects the layer states correctly for me regardless of whether or not layer 0 is frozen.  I can't replicate your initial issue.  Here's a screencast working with your original file as posted.

 

 

0 Likes
Message 7 of 7

sgauthier
Enthusiast
Enthusiast

Hi Libbya and all,

We have the same issue as the original poster.  Could you take a look at our "part8a" block.  We need to globally turn on and off part numbers for various printing tasks but the user defined block in our multileader style seems to forget on what layers its underlying attributes reside.  The "part no" and "qty" attributes are on the PART-NO layer yet don't freeze/thaw as we would expect.

Thanks for any insight!

0 Likes