I am trying make my first script in python but i have this problem. I was looking in the forum but i couldn´t solve it.
Looks like a problem in the direction. Can you share a full screenshot or the gh file?
Direction input parameter and set the type hint to
Vector3d. You can set the
MidPoint type hint to
Point3d and skip the coercing step as well.
Edit: See this article for context:
Just for completeness, I noticed an error in the article I linked to above:
Thanks so much.