Form.MoveProfile
Method
Description:
Move a profile of the form, specified by a reference, and an offset vector.
Move a profile of the form, specified by a reference, and an offset vector.
Examples
public void MoveForm(Form form)
{
int profileCount = form.ProfileCount;
if (form.ProfileCount > 0)
{
int profileIndex = 0; // modify the first form only
if (form.CanManipulateProfile(profileIndex))
{
XYZ offset = new XYZ(-25, 0, 0);
form.MoveProfile(profileIndex, offset);
}
}
}