BIM World
A Professional BIM Learning Platform


How to Round Parameters in Revit

BIM Software Tips: How to Round Parameters in Revit

The Revit Family Editor offers an “Integer” parameter type that allows you to round input values according to standard rounding rules. This means the value is rounded up or down based on its decimal part.

For example, if the input value is 3.25, the returned value will be 3. If it is 3.5, the value rounds up to 4.

But what if you need different rounding methods, such as always rounding up or always rounding down? How can you achieve that?

Let’s look at a simple example.

Suppose you want to round the number of steps up. This means that any value from x.01 to x.99 should round up to x + 1.

To accomplish this, follow these steps:

1. Change the number of steps parameter to the “Integer” type.

2. Use the following formula:
total height / step height + 0.49

xuebim
Follow the latest BIM developments in the architecture industry, explore innovative building technologies, and discover cutting-edge industry insights.
← Scan with WeChat
Like(0) 打赏
BIM WORLD » How to Round Parameters in Revit

Comment Get first!

Must log in before commenting!

 

BIM World, A Professional BIM Learning Platform

Stay updated on the latest architecture trends and share new building technologies.

Contact UsAbout Us

觉得文章有用就打赏一下小编吧

非常感谢你的打赏,我们将继续提供更多优质内容,让我们一起创建更加美好的网络世界!

支付宝扫一扫

微信扫一扫

Account Login

By signing in, you agree toUser Agreement

Sign Up