• Welcome to World Machine Community. Please login or sign up.
September 18, 2019, 03:20:48 pm


Read the Development Diary for an inside look at World Machine's progress!

Tool that will round terrain height to the nearest value? (MRound)

Started by Adam Pliska, April 05, 2018, 08:33:30 am

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Adam Pliska

Just wondering if there is a tool that will allow one to round the height generated by any of the components to a value within a specific range. For example, if I set it to round to the nearest 100/th then any value would rounded to .001.

In Excel this function is called MRound. See this: https://support.office.com/en-us/article/mround-function-c299c3b0-15a5-426d-aa4b-d2d5b3baf427
::: Returns a number rounded to the desired multiple.

Ideally the rounding range would be variable so I could go from .1 to .00001, etc. This could also be expressed in units, such as meters - at the extreme would be rounding to the nearest meter. (not that useful for me)
My project requires that height is defined in meters, and that no height falls outside of 1/20th of a meter. (each meter is split into 20 parts)

Thanks for any thoughts or advice.


Hi Adam!

Try using the terrace device with the method set to "simple" and the number of terraces set to 100 (or whatever the  number of rounding spots you want). That's what it's intended to do - let me know if that works!

- Your friendly neighborhood forum moderator :)

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.

Please leave this box empty:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:

Shortcuts: ALT+S save/post or ALT+P preview