adding labels to drawing corresponding to dynamic block type/size

adding labels to drawing corresponding to dynamic block type/size

Ross_S1
Advocate Advocate
643 Views
2 Replies
Message 1 of 3

adding labels to drawing corresponding to dynamic block type/size

Ross_S1
Advocate
Advocate

I have a project with hundreds of dynamic blocks of large woody debris (logs). The logs are different sizes. I'd like to be able to apply the length and possibly diameter of each log as text to the drawing, in a simple way. Ultimately the text would be aligned with each log (but I'm open to it not being aligned). I am not very familiar with dynamic blocks. I imagine this would take a fair amount of work to extract the information that I am after, so I don't anticipate an easy solution to this.

 

I thank you in advance for your help and input on this.

 

An extract of the file is attached as well as a file showing what I'm looking for.

 

 

0 Likes
Accepted solutions (1)
644 Views
2 Replies
Replies (2)
Message 2 of 3

MMcCall402
Mentor
Mentor
Accepted solution

This isn't too hard to implement.  Add an attribute to the block with a default value that uses a couple Fields to collect the name of the visibility state and the length of the linear parameter for the length.  Make the attribute visible for all visibility states and include it in the selection sets for the flip and rotate actions.  Add a move action to the length parameter, select the attribute, and in the properties for the move set its multiplier to 0.5.  (this will keep the attribute centered as the log gets longer)   Run ATTSYNC on the inserted blocks to re-sync them with the modified block definition and you should be good.

 

 

MMcCall402_0-1717532161307.png

 

Mark Mccall 
CAD Mangler


EESignature


VHB - Vanasse Hangen Brustlin, Inc.


Linkedin

Message 3 of 3

Ross_S1
Advocate
Advocate

Thank you much Mark.

 

This will take me some digesting, particularly due to my lack of experience, but it looks like what I am after. 

0 Likes