Making railings with Dynamo

Hello everyone, I’ve been trying to make railings in Dynamo. I tried with the AdaptiveComponent.ByPoints node but I cant get the correct family type input. The same node works with a generic family but not with the railings system family that I want to use.

Any help will be really appreciated.