Dynamic block distance by formula

Dynamic block distance by formula

Anonymous
Not applicable
2,740 Views
4 Replies
Message 1 of 5

Dynamic block distance by formula

Anonymous
Not applicable

The attached block does most of what I seek, however, I wish to have the shelf support maximum travel distance equal to 1/2 Distance1 - 180mm. This would restrain the maximum "inner" edge of the support to the midpoint of the shelf length, while the support "outer" edge is 100mm or more from the shelf outer edge.

 

Can this be done with a formula within the dynamic block?

 

Thanks in advance for your help.

0 Likes
Accepted solutions (1)
2,741 Views
4 Replies
Replies (4)
Message 2 of 5

Libbya
Mentor
Mentor

I'm not sure I understand what you are asking.  I'm sure you know what you mean by the 'shelf support' and 'shelf edge' but it is not particularly clear when looking at your block.  

 

You cannot dynamically alter the maximum travel distance of a parameter.  You can set it in properties, but then it is what it is.  You can, however, move the base location of a parameter and the maximum/minimum are taken from that base location.  

 

For better assistance, give a better description of what you mean and what you want.  Even some linework and text can be helpful. 

0 Likes
Message 3 of 5

Anonymous
Not applicable

Thanks for the reply Libbya. Yes I understood exactly what I was saying as I was looking at the graphic while describing it. If only you could see through my eyes :))

 

I think you answered the question about using a formula, I wonder if there is another way?

Please see attached for clarification. Hopefully it will make more sense.

 

Your help is greatly appreciated.

0 Likes
Message 4 of 5

Libbya
Mentor
Mentor
Accepted solution

I am not sure if it is possible.  If so, then the block would be complex and time consuming to build.  You might be able to get that functionality using multiple visibility states and a double lookup.  You basically have 30 different possible lengths for D1 ([2300-800]/50=30).  If you create a visibility state for each of those with the appropriate Distance3 and Distance4 max and min length, you could then automatically switch between the states with a double lookup.  The double lookup would use the Distance1 parameter for input and the visibility parameter as output.  Getting the various parameters in the different visibility states to interact in a sensible manner would be a significant challenge and I am not sure if you would be able to set it up in a way that would avoid the conflict when switching from a longer D1 to a shorter D1 with D2 and D3 at sizes that could not exist in the smaller D1 state.

Message 5 of 5

Anonymous
Not applicable

Thanks for looking at the challenge. A complex block as you describe would sacrifice ease of use. I'll use what I have understanding its limitations. As always I very much appreciate your feedback.

0 Likes