Want to create a block with leader attached to a move-able set of attributes.

Want to create a block with leader attached to a move-able set of attributes.

OliverE
Advocate Advocate
7,446 Views
10 Replies
Message 1 of 11

Want to create a block with leader attached to a move-able set of attributes.

OliverE
Advocate
Advocate

Hi,

 

There should be a very simple solution to my problem. All I'd like to do is the following:

- create a block which has a set of attributes.

- have these attributes free to move/relocate once the block is inserted into my drawing.

- have a leader connecting the set of move-able attributes to the block object.

- this leader should move with the set of attributes as I relocate the attributes after insertion so the arrow is always pointing at the block object and the landing is always attached near the set of attributes.

 

I've attached a dwg of my manhole block. I'd like it to work in a way that when I insert the block, it prompts me to fill in the attributes, then once I select an insertion point, I can move the attribute text around and still have the leader connected to them.

 

Thank you in advanced.

0 Likes
Accepted solutions (2)
7,447 Views
10 Replies
Replies (10)
Message 2 of 11

pendean
Community Legend
Community Legend
Try posting in the Dynamic Blocks forum https://forums.autodesk.com/t5/dynamic-blocks/bd-p/154

0 Likes
Message 3 of 11

Anonymous
Not applicable

@pendean This is the dynamic blocks forum.... (Maybe it got moved here by a moderator?)

 

@OliverE

I've tried to make a leader as you requested but its not working properly. If there is a constant angle that the leader could be at than this is easy. But if I understand you correctly it'll be a little tricky to get this result. Not that it isn't possible but it will take some tinkering. even a few set positions would be easier

 

0 Likes
Message 4 of 11

OliverE
Advocate
Advocate

Thank you for the suggestion. This was my first post

0 Likes
Message 5 of 11

OliverE
Advocate
Advocate

My problem is, if I have one or a couple fixed leader/attribute positions, when I insert the block and fill out the attributes for the manhole, the location of the attributes sometimes block other objects in my drawing. Therefore, I need to be able to relocate the attributes to a position that allows other important information to remain visible for plotting while still having the leader attached to the set of attributes.

 

I've tried making the "set of attributes" a separate block, then modified my multileader style by setting the multileader type to Block and selecting the "set of attributes" block as my source block. This doesn't work if I create the multileader inside the Block Editor with the manhole. Maybe if I create a multileader style as I mentioned above with the "set of attributes" as the source block. Then if I insert the manhole block into my drawing then add the multileader in model space it might work?

 

I'm not very familiar with dynamic blocks but I'm sure there is a simple solution using them so I'll look into that. 

0 Likes
Message 6 of 11

neaton
Advisor
Advisor
Accepted solution

Change the attributes to Verify (Yes) and Lock position (Yes). Next, add a Polar Stretch parameter-action set to move the leader and attributes. See the attached block. 

Nancy


@OliverE wrote:

My problem is, if I have one or a couple fixed leader/attribute positions, when I insert the block and fill out the attributes for the manhole, the location of the attributes sometimes block other objects in my drawing. Therefore, I need to be able to relocate the attributes to a position that allows other important information to remain visible for plotting while still having the leader attached to the set of attributes.

 

I've tried making the "set of attributes" a separate block, then modified my multileader style by setting the multileader type to Block and selecting the "set of attributes" block as my source block. This doesn't work if I create the multileader inside the Block Editor with the manhole. Maybe if I create a multileader style as I mentioned above with the "set of attributes" as the source block. Then if I insert the manhole block into my drawing then add the multileader in model space it might work?

 

I'm not very familiar with dynamic blocks but I'm sure there is a simple solution using them so I'll look into that. 




Message 7 of 11

neaton
Advisor
Advisor

Not sure what version of AutoCAD you are using so here is the block saved down to 2010.

Nancy


@neaton wrote:

Change the attributes to Verify (Yes) and Lock position (Yes). Next, add a Polar Stretch parameter-action set to move the leader and attributes. See the attached block. 

Nancy


 

Message 8 of 11

OliverE
Advocate
Advocate

Thank you for providing the block. That does essentially what I wanted it to. However the leader is anchored to the left of the text so if I move the attributes to the opposite side of the block, the leader is drawn through the text. I will have a play around with dynamic blocks and see what I can do.

 

Thanks again.

Message 9 of 11

neaton
Advisor
Advisor
Accepted solution

Add a flip parameter through 0,0 and include the leader and the polar stretch parameter in the flip action. 

Nancy


@OliverE wrote:

Thank you for providing the block. That does essentially what I wanted it to. However the leader is anchored to the left of the text so if I move the attributes to the opposite side of the block, the leader is drawn through the text. I will have a play around with dynamic blocks and see what I can do.

 

Thanks again.


 

Message 10 of 11

OliverE
Advocate
Advocate

Right on. Thank you.

Message 11 of 11

Anonymous
Not applicable

thanks for this Nancy totally works for me too.

0 Likes