Line.startpointdirectionLenght NODE ERROR MESSAGE

Hello, does anyone know is it a diferent employing list point with Line.startpointdirectionLenght node and startPointendPoint.

In the first case there is message error input:

Advertencia: Line.ByStartPointDirectionLength wait for arguments types (Autodesk.DesignScript.Geometry.Point, Autodesk.DesignScript.Geometry.Vector, double), but is called with (Autodesk.DesignScript.Geometry.Point, Function, int).

Thank you in advance.

According to the error message the Vector.Z node is not providing the correct information. Look for a node that gives a Vector as the output not a double.
Also use 1.0 and not just 1 for the length as the error message also says the input should be double and it’s getting an integer.

Vector.Z is currently in a function state and not calculating anything. You can tell this is the case by the color of the node - it’s a lighter shade of grey overall. This section of the primer has a bunch more about node states:

Likely you want to swap the Vector.Z node with a Vector.ZAxis node.