We have had a few questions about rounding dimensions to the nearest 5mm. This is not currently available via the Dimension Styles dialog but there is a method using a key-in that can modify an existing dimension style. You can test this in any design file without affecting standards then copy the modified dimension style to your standards dgnlib.
[please note the initial part of the command line is calculat, no 'e' at the end! DOS 8 character file naming lives on.]
In this illustration the lower dimension string has the rounding applied.
You can also use the command string as a temporary override without changing or creating any library styles, in which case updating the style from the library would reset it to the company standard, removing the rounding setting.
Also note that if a dimension with rounding exists you could also use the match text attributes tool to pick up the rounding setting.
'mdl load calculat' starts C:\Program Files (x86)\Bentley\AECOsimBuildingDesigner V8i Ss5\AECOsimBuildingDesigner\mdlsys\asneeded\calculat.ma
In this instance it is used to access an mdl command via the mdlDimStyle api. If you want to find out more about that topic area you can:
Search MicroStation help for the string "Calculator/Preprocessor" for guidance on the more general functions available from calculate.ma.
Hi,When you need assistance, do not add that in this blog as a comment. Best is to log a service request for this so that we can follow up with you:https://apps.bentley.com/srmanager/ProductSupport
Feel free to mention my name in that request.
Bumping this. After a year and there is still no function or Workaround?
I crash against this all the time. While there is no substitute for quality draughting, there are times you just have to work with what someone else produced. The last thing you want your juniors doing is overriding dims with text.
I have a short cut workaround for up to 10 mm.
Drop DIM style units to centimeters (from mm) and add suffix, numeral "0". But this is just a very short term emasure in dire emergencies.
I'm also using Connect version of Microstation and I'm really curious if it is possible to round numbers in dimensions. Marc, if there is a solution to the problem, I would really appreciate it. Thank you in advance!
Thanks for pointing this out. I'll look into this. Looks like calculat.mdl is no longer delivered.
With CONNECT, this doesn't work: Calculator: "mdlDimStyle_setDoubleProp" is not a function. That is, the MDL function mdlDimStyle_setDoubleProp is not available in MicroStation CONNECT.