Hello everyone!
Got a problem here I got stuck at. I've created a report from a metric model and all the dimensions show with decimals (for example: HSS304.8X101.6X12.7). Is there a way to round those numbers to this format: HSS305x102x13? Appreciate any suggestions and advice!
Rounding metric dimensions in reports.
09.04.2018 21:52
Hey,
I guess without editing profiles in the model you'll have to do some template editing. You could try something like:
"HSS"+round(GetValue("PROFILE.HEIGHT"))+"*"+round(GetValue("PROFILE.WIDTH"))+"*"+round(GetValue("PROFILE.PLATE_THICKNESS"))
Of course this only works for HSS profiles, if you want it to work with several profiles the code will have to become more complex...
hope it helps. regards
I think there's an easier sollution.
Go to the file menu / settings / options
Click on units and decimals / tabpage Catalogs / first row "section dimension" you can select the number of digits behind the decimal point.
Hope this helps.
hi, have you tested it ?
I haven't manage to make it work using that method...still gives me the profile as it shows in the model.