http://images.businessweek.com/ss/05/06/sharing/image/sharing.jpgPPT_LOGO_4b
‹#›
Autodesk Confidential Information
Developer Days Online 
The Wine – Conceptual Design API
Forms Creation Methods
•DeleteSubElement
•MoveSubElement
•RotateSubElement
•ScaleSubElement
•
while (i < FormLoft.ProfileCount)
            {
                int move = 2;
                Reference loft_ref = FormLoft.get_ProfileRef(i);
                while (move < 10) {
                    XYZ XYZmove = new XYZ(move, 0, 0);
                    FormLoft.MoveSubElement(doc, loft_ref, XYZmove);
                    XYZmove = new XYZ(0, move, 0);
                    FormLoft.MoveSubElement(doc, loft_ref, XYZmove);
                    XYZmove = new XYZ(0, 0, move);
                    FormLoft.MoveSubElement(doc, loft_ref, XYZmove);
                    move = move + 2;
                }
                move = 0;
                i = i + 1;
            }
Forms can be modified using these four methods to Delete\Move\Rotate and Scale the specific sub-element. We shall look in one specific sample where we shall create and then keep moving sub-elements to create a loft.

There are few important methods and properties to consider while doing this. This includes the profile count for the form which is 3 in this case, the ability to get a specific reference for that form using the getProfileReference, we can get reference of each of those three curves and then use that reference for the movesubelement method which actually does the translation of that curve.