round equations to the largest value in a list

round equations to the largest value in a list

aschiaratura1
Explorer Explorer
736 Views
2 Replies
Message 1 of 3

round equations to the largest value in a list

aschiaratura1
Explorer
Explorer

Hello. i'm working on a dynamic block for my office, we made HVAC implants and i'd like to set the value of an equation to the bigger value next to it.

for example the section A plus the section B give me a resoult of 435mm but me make only 45omm pipes so i'd like my block change to that value once i had insert the A e B section.

0 Likes
737 Views
2 Replies
Replies (2)
Message 2 of 3

h_s_walker
Mentor
Mentor

@aschiaratura1 Create a field with a formula and in the formula put

 

 

ROUND(((A+B)/50)+.499)*50

 

 

A and B are obviously your values. The above formula rounds to the values you specify in the divide and multiply, in this case I assume your pipes are in lengths of 50

See the attached drawing for a quick and dirty example

Howard Walker
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Left Handed and Proud

0 Likes
Message 3 of 3

j.palmeL29YX
Mentor
Mentor

Which are the allowed values for your pipes (obviously 450 is one of them)? 

Is it a list with a constant increment or ...? 

 

And post your block please, so we can see what is A and B, which equation you're talking about,  where are the current values for A and B coming from  and other details. 

Jürgen Palme
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes