I have two plugins—one for Rhino 5 the other for Rhino 6—which use similar code. But when acting on the same file each yields different results for PageToModelRatio
. Given detail
is an instance of Rhino.DocObjects.DetailViewObject
:
double ratio = detail.DetailGeometry.PageToModelRatio
In Rhino 5 ratio
will be 0.17891563008952949
. In Rhino 6, for the the same detail view from the same file ratio
will be 0.031881150585873874
.
Is there a difference between the two environments or some property that I need to ensure is set in order to get the same value in both versions?
Thanks!