Angel between two lines

I try to find the angel between two lines in GH With a C# code, I have tried with AngleVector… but does anybody know how it Works?

I have tried these Versions:

Given two vectors - which you already use in your example - it gives the angle in Radians. You may have to check the resulting numbers to figure out how it represents this angle.

There are three variants of this method. Often you want the angles to be calculated relative to a plane:
https://developer.rhino3d.com/api/RhinoCommon/html/Overload_Rhino_Geometry_Vector3d_VectorAngle.htm

// Rolf

VectorAngle method is a static method,So you only need the Vector3d.VectorAngle() call.like this.

vector.gh (4.0 KB)

thanks! it worked:)

But why cant I make a list of the

angles…?

Your code has a SyntaxError