I had trouble using this method Glad to help. I want to rotate a line
rorate.gh (5.8 KB)
private void RunScript(Point3d pt, Line line, ref object A) { line.Transform(Transform.Rotation(Math.PI*0.5, pt)); A = line; }
Rotation.gh (2.3 KB)