Error in decimal numbers

I need help, I have an error in decimal numbers
the ruby ​​api code I can not understand …
Thanks for your help…

Joseph

:sob: :sob: :sob: :sob:

Pil_1pn_Prompts.rb (3.6 KB)

That’s because of the tapered part at the bottom of the pilaster. The dimension is measuring along a slightly skewed line from the upper corner to the inset corner at the bottom. If you fiddle a bit with the cursor while placing the dimension you will see it snap back and forth between the correct value and the slant value depending on whether you pull out directly along the red axis or not.

slant_dim

Many thanks for your help, I had not even noticed this fact …

Joseph