Rehosting multiple railing in dynamo

Hi,

Is there a script where I can rehost multiple railing in one floor or topography?

Thanks in advance!