If you say yes, I know it means you have struggled a lot. Because topography can't be a host of railings. You could try with AC instead if you were good at using it, but AC can't be attached at topography because topography in Revit is not solid or poly-surface but mesh. (I've got to know the reason after start using Dynamo)
One of the great parts of placing AC by Dynamo is that you can place them even in the air. You don't need any edges or faces anymore. And it gives us a lot of potential advantages.
As an example, I created a simple farm fence here.
The balusters look like standing on the topography. Actually, they are in the air exactly at each of the same points on the topography.
You can download above files as usual.