Author Topic: Tool that will round terrain height to the nearest value? (MRound)  (Read 464 times)

0 Members and 1 Guest are viewing this topic.

Adam Pliska

  • Community Member
  • **
  • Posts: 2
    • View Profile
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.
« Last Edit: April 05, 2018, 12:02:20 PM by Adam Pliska »

WM_Moderator

  • Global Moderator
  • World Machine Veteran
  • *****
  • Posts: 35
    • View Profile
Re: Tool that will round terrain height to the nearest value? (MRound)
« Reply #1 on: April 26, 2018, 04:42:45 PM »
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 :)
« Last Edit: April 26, 2018, 04:47:31 PM by WM_Moderator »