Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5938

Rhino 8 Distance() method

$
0
0

Is the Distance() method in the rhinoscriptsyntax library broken in rhino 8?

This simple code gives me an error message in line 6 “Point3d object has no attribute Lengh”. It works fine in rhino 7.

import rhinoscriptsyntax as rs

point_1 = rs.GetObject("Select first point" , 1)
point_2 = rs.GetObject("Select second point" , 1)

distance = rs.Distance(point_1, point_2)

print(distance)

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 5938

Trending Articles