Place adapative revit family through curve

Possible solution here → Problem with aligning family with vector line on all 3 axes - #10 by Mike.Buttery