Rounding an attribute down

Rounding an attribute down

samuelb8Y56V
Contributor Contributor
696 Views
2 Replies
Message 1 of 3

Rounding an attribute down

samuelb8Y56V
Contributor
Contributor

Hi,

 

I'm not perfect with my terminology as I'm fairly new to dynamic blocks. I've successfully made a block which allows for various racking dimensions that can then be arrayed along a line but wanted to add a way to count the number of bays in a run, which I currently do by hand. I have gotten fairly close in that the attribute displays the number of bays but I want it to round down as I can't have 0.789 bays, yet my attempts of using ROUND and ROUNDDOWN have had little affect or produce a ####. Any explanation or edit to the attached dwg would be so useful as the work I've done so far has been fun.

0 Likes
Accepted solutions (1)
697 Views
2 Replies
Replies (2)
Message 2 of 3

h_s_walker
Mentor
Mentor
Accepted solution

1. I would change all your distance parameters to increment (see the first picture below) to make sure you don't have a distance which isn't a bay length.

2. Change the precision of the formula to 0 decimal places (see the second picture below)

Capture.JPGCapture1.JPG

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

Message 3 of 3

samuelb8Y56V
Contributor
Contributor

Perfect took me some tries to get the formula to save the settings, but got there in the end. Thanks

0 Likes