Community
Dynamic Blocks Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Scale Action & Stretch Increments

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
karlWSTWX
219 Views, 2 Replies

Scale Action & Stretch Increments

Good Day Everyone!

I've been diving into the forums all morning for a potential solution to a hurdle I am faced with a dynamic block I am working on. Unfortunately, I haven't been able to find a solution or alternatively, I perhaps haven't been able to understand the solution. Your expertise would be greatly appreciated, either answering directly, or pointing me to a thread that has an applicable solution.

 

The Goal:

Create a module block for drawing titles that has extents that are stretchable to a maximum of 4x the base vertical dimension and 4x the base horizontal dimension. The block should also have a scale action using a lookup that will scale the whole block by a factor equivalent to typical drawing scales.

 

The Challenge:

The block is functioning exactly as I'd like it to, until it is scaled. The increments set for our stretching actions do not scale with the rest of the block.

 

The Request:

A way to set the stretch actions so that they will adjust the increments with the scale or an alternative way to setup the block that would achieve this. Visibility States won't work as we would need to duplicate text attributes.

 

I've attached the block for your direct review. Thank-you in advance for any help you are able to provide.

 

Labels (4)
2 REPLIES 2
Message 2 of 3
MMcCall402
in reply to: karlWSTWX

I'm thinking 4 visibility states, each with its own border scaled appropriately and pair of stretch actions with appropriate increment, min and max settings that only appear in that visibility state. Name the visibility states as you would like them to appear in a selection menu. The text attributes would be visible in all 4 states.  Replace the lookup with a block table and add the visibility state parameter (in the left most column) and then the scale parameter.  Select each of the 4 visibility states to make 4 rows. Then choose the scale in the next column that should correspond to that visibility state.  Turn off the grip for the visibility parameter. Save the block and test.   The block table grip should allow you too choose a scale, based on visibility state names,  and it will then choose the visibility state and coordinating scale.

Mark Mccall 
CAD Mangler



Hammer Land Engineering


Linkedin

Message 3 of 3
karlWSTWX
in reply to: MMcCall402

Mark,

 

This approach worked like a charm. Took a bit to figure out getting the text to scale appropriately, but I now have the block functioning exactly as I hoped. It's a bit labour intensive to do all the scales this way, so I'll post it when done and maybe it can help some other soul in a similar position in the future.

 

Thanks again!

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Customer Advisory Groups


”Boost