Warning: No property called Direction on Autodesk.DesignScript.Geometry.Point could be found

hi JacobSmall
thanks you for your answer. This is the link that I read and used but when I did it, I seen fail as the follow. Can you give me some advise? Thank you in advance.
https://forum.dynamobim.com/t/copy-rebar-from-one-element-to-another/7431
Rebar.Copy.dyn (17.4 KB)