@krishnandynBQY9Z wrote:
thanks, I just want in metric i would enter the (tread & rise) values as per company standard
You should be able to just enter those at the prompts. The offered defaults could be changed to metric values if you supply what the applicable Code requires, but even without that, you can always enter whatever values you like.
BUT keep in mind that the basis of Code requirements may be different for you than for me. Here, there's a minimum tread depth {"going" in the Australian example], and in order to not consume more space in plan than necessary, we typically just use the minimum. And there's a maximum riser height, and the routine calculates the smallest number of risers for the given floor-to-floor distance, such that the riser height does not exceed the maximum, again to use the fewest number of steps possible, to minimize space consumption. We don't have the complexity of the Australian example, with its range within which the product of going x riser must fall, and its slope limits. If you are in a jurisdiction with similar requirements, this routine is not built to work with them, and it would be up to you to try some values, see what results, and compare it to the Code limits.
Also, one thing it doesn't ask for is the horizontal extension of the handrail that our Codes require at the top of a run, which is the 'access' and 'exttop' variables, which are universally a foot (12") in our situations, so it's built in. If you even have a horizontal extension requirement at the top, change that 12.0 value.
Kent Cooper, AIA