.direction() gives an error in Python script

Hi
Im getting an error on the .direction() command within a python script. The error is: Vector is not callable. Ive added a printscreen of the part of the script that gives the error. Does anyone have a suggestion where this goed wrong?
Maybe its because I`m working with class objects within Python??
If I just put a node Line.Direction after the python it does work but in the script itself it gives an error.
Thanks!
Wouter

Not callable means you can not put () at the end.

Only .direction should do it.

1 Like

Thats the sollution! Thanks :+1:

1 Like