Scaling Dynamic Block

Scaling Dynamic Block

Anonymous
Not applicable
1,743 Views
6 Replies
Message 1 of 7

Scaling Dynamic Block

Anonymous
Not applicable

I'm in the process of creating a dynamic block that mimics shading from roof obstructions.

 

The block contains 2 visibility states which represent the time of day, one being 10am-2pm and the other being 9am-3pm with 12am in the middle of both. (see photo for clarification). 

                                                      Capture.PNG

 

Each line represents the shadow length of a roof obstruction at 10am, 12am and 2pm, that is 1 foot in height. I would like to have this block have a scaling action so if an obstruction is 10 feet in height, it will scale to an appropriate height when I grab the grip and enter in 10 feet.

 

Ex) at 1ft in height, at 10am the shadow cast is 2.3ft,  12am the shadow cast is 1.8ft and at 2pm the shadow cast is 2.6ft. So at 10ft the values will be 23ft at 10am, 18ft at 12am and 26 at 2pm respectively.      

 

Right now I cannot get the scaling action to scale properly.

 

Any help with this would be great!

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

MMcCall402
Mentor
Mentor
Accepted solution

Set the initial line lengths as if it was for a 1 ft. tall obstruction. Add a linear parameter and scale action up the middle. Set the start point of the action where the line converge and the end 1ft above that. Select all the lines for the scaling action.   Now the linear parameter will scale the lines proportionately. 

Mark Mccall 
CAD Mangler


EESignature


VHB - Vanasse Hangen Brustlin, Inc.


Linkedin

Message 3 of 7

Anonymous
Not applicable

Thanks for the reply!

 

That's what I have been doing but it still wont scale properly.

 

 

0 Likes
Message 4 of 7

Libbya
Mentor
Mentor

Post the file.

0 Likes
Message 5 of 7

Anonymous
Not applicable

Please refer to the 10am-2pm block visibility

 

Thanks!

0 Likes
Message 6 of 7

Libbya
Mentor
Mentor
Accepted solution

MMcAll402's description of what to do is correct.  Your block does not match it and so the scale does not work correctly.  See the following screencast where I set the parameter length to 1' and set the three lines to the lengths you say they should be for a 1' length obstruction.  I then test the block and show that when the parameter length is changed to 10' the lengths all update proportionately to the correct lengths you describe.  

 

 

Message 7 of 7

Anonymous
Not applicable

Thanks for the help. That was exactly what I was looking for.

0 Likes