Hello! Hello! Can you help me in this example script?
import rhinoscriptsyntax as rs
corners = rs.GetRectangle()
if corners:
rs.ViewCPlane( rs.PlaneFromPoints(corners[0], corners[1], corners[3]))
It gives:
Message: unable to coerce Origin=29.8916742188048,129.979956229813,0 XAxis=1,0,0, YAxis=0,1,0, ZAxis=0,0,1 into a view
Traceback:
line 16, in __viewhelper, "C:\Users\dotto\AppData\Roaming\McNeel\Rhinoceros\ 5.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\rhinoscript\view.py"
line 724, in ViewCPlane, "C:\Users\dotto\AppData\Roaming\McNeel\Rhinoceros\ 5.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\rhinoscript\view.py"
What's wrong?
Thank you very much indeed!
Silva


Reply With Quote
