How can we get multi profile pipe except multisquare or round?

Such as triangle ,retangle,octagon

i have no idea what multisquare is i would also not understand why this would be an exception. multi profile pipe is also pretty ambiguous, do you mean several profiles at once?

if you simply try to use a different profile on a pipe then you would have to use sweep. for rectangular stuff you can try offsetting the curve, lofting both curves and using OffsetSrf