Hi,
I used “SetScale” method in rhino 7. It worked fine. In rhino 8 it does not set the scale anymore.
https://developer.rhino3d.com/api/rhinocommon/rhino.geometry.detailview/setscale
You can see the bug with this example:
Hi,
I used “SetScale” method in rhino 7. It worked fine. In rhino 8 it does not set the scale anymore.
https://developer.rhino3d.com/api/rhinocommon/rhino.geometry.detailview/setscale
You can see the bug with this example:
Hi @Ludovic,
The attached Python script seems to work.
test_addlayout.py (1.1 KB)
What am I missing?
– Dale
Hi Dale,
Thanks, after some tests it appears that calling twice “pageview.SetActiveDetail(detail.Id);”
will let the scaling work in Rhino7 but not in Rhino 8. You can see it by opening this file in both Rhino 7 and Rhino 8:
bug scale layout.gh (13.7 KB)
Of course it does not make sense to call this method twice, but for some reason my code was written like that (with other stuffs in between). I will edit my code to call it only once and that will do the fix. However I don’t see why calling it twice affects the behaviour of “SetScale” in Rhino 8…