Variable Geometry Attributes in a Block

Variable Geometry Attributes in a Block

Anonymous
Not applicable
747 Views
4 Replies
Message 1 of 5

Variable Geometry Attributes in a Block

Anonymous
Not applicable

How do I create an attributed block of a 4x4 square where I can change the value of one or two of the fields, and the leg(s) of the square change in size? So, if it's a 4x4, I can click on the block entity, then edit the attribute from 4 to 6, and will now have a 6x6 or 4x6. I want to have one block that has variable geometry attributes and not just variable data attributes. The objective is to insert that block and be able to change its size rather than have multiple blocks for each of the different sizes of squares.

0 Likes
748 Views
4 Replies
Replies (4)
Message 2 of 5

Libbya
Mentor
Mentor

You cannot change the attribute value and have the block change size accordingly.  You can, however, change the block size and have the attribute update accordingly. 

0 Likes
Message 3 of 5

Anonymous
Not applicable

Thank you for the swift reply! I've seen a block like I want to make before, so it can be done, but I can't ask the creator of said block. It might be that I'm not explaining myself accurately. The block was for a structural steel pier. It was created with two polylines. In the case of a rectangle, two "L" shaped polylines formed the rectangle. One could click on the block once inserted and change the web and the flange dimensions as desired. The block would adjust accordingly.

0 Likes
Message 4 of 5

Libbya
Mentor
Mentor

It sounds like you are confusing the attributes and parameters.  An attribute displays text.  It allows the displayed text value to be edited without editing the block definition, but that is all that an attribute does.  

 

Parameters, on the other hand, can control geometry within a block.  Here is a screencast that shows how to add a couple linear parameters, stretch actions, and an attribute.  

 

 

0 Likes
Message 5 of 5

Anonymous
Not applicable

Thank you for taking the time to create the screencast. It's awesome.

0 Likes