How to place a profile family in the revit project

Avz, thanks for your response, i have tried what you suggested, changing the dynamo script, and also reordering the data that i had, but the results are not good.

I am still trying with adaptives components, if i get to solve this problem i let you know, in the meanwhile i listen to any advice you have, thank you all.