Railroad on dynamo

Hello,

i want to make railings family to follow topo but with revit i cant creat railings in some segment there is a way make it on dynamo if someone have did that before can help me.
2019-04-12_12h22_37