Issue in scriptable command for setting tolerance

When I try to set the model absolute tolerance through the scriptable version of the DocumentProperties command (as below), it always seems to set the tolerance to 1 instead of 0.01. This is in Rhino 8 SR4/5. Any idea what I might be doing incorrectly? Thanks

-DocumentProperties Units ModelUnits UnitSystem=Feet AbsoluteTolerance=0.01 -EnterEnd

Hi @LarryL,

Thanks - I’m able to reproduce.

https://mcneel.myjetbrains.com/youtrack/issue/RH-81016

– Dale

Hi @dale ,

Wondering if this issue has been addressed? Recently I discovered that I think it is not the tolerance that is the issue, but changing the units. With messages on, in SR9 I see the exception thrown below for the prompt to scale geometry when changing units.

It seems you cannot change units via scriptable command if it thinks it needs to potentially scale geometry.

Thanks, Larry

@tim - can you look at this?

Hi Larry,

The exception was introduced when I fixed a string for French localization. I removed the variable from the string but forgot to decrement the variables still remaining. A fix will be coming soon.

I am curious to know how you were able to see the exception in a release build. What does, “With messages on”, mean and how do you turn that on?

Tim

See this YouTrack issue to monitor progress. https://mcneel.myjetbrains.com/youtrack/issue/RH-83230

Hi @tim , thanks for the update. No problem, if my Orca colleague had a nickel for every time I introduced a localization issue, he would be retired.

I guess what I meant by “messages on” was TestDotNetMessages

Thanks, Larry

I didn’t even know about that command. Thanks for the tip.

Tim

Hi Larry,

This fix is in the new release candidate. You can get it by setting your Rhino update frequency to get those. See Rhino Service Release Candidates.

Tim

Thanks Tim

RH-83230 is fixed in Rhino 8 Service Release 10