Creat Form in an adaptive family by dynamo

can I create a form with a few adaptive profile family by dynamo


the Form.byloftCrossSection is not working with family profile