Hi @Whale_ale,
Welcome to the forum.
Maybe the link below from @Konrad_K_Sobon can point you in the right direction.
https://archi-lab.net/profile-family-to-ds-polycurve/
An updated version of the “PolyCurve by Profile Family Type” node can be found here.
https://forum.dynamobim.com/t/profile-family-along-a-curve/28321/2?u=mjb-online