Brace not following the input curves sometimes

Have anyone experience this problem? The brace element seems not following the input curves all the time. After I delete the misplaced element and run Dynamo again it will work, but will happen again while select other 2 reference beams.

CreateBrace.dyn (53.0 KB)

Could you post a dummy Revit File

Brace Creation.rvt (668 KB)
Try use this one, thanks

I can’t reproduce the problem. I’m using Revit 2017 though.

May be i should tey it on Revit 2018. but did you try to switch the joint to the to beam?

What do you mean?

Select the beam on top level for chevron joint node.

yes it works on both cases