RVTDocs.com
Namespace: Autodesk.Revit.DB Class: Form

Form.ConstrainProfiles

Method
Description:
Constrain form profiles using the specified profile as primary. This is an advanced version of property "AreProfilesConstrained", allowing specify the primary profile.
Syntax
public void ConstrainProfiles(
	int primaryProfileIndex
)
Parameters
Parameter Type Description
primaryProfileIndex Int32 Index to specify the profile used as primary profile.
Return Value
Exceptions
Exception Condition
InvalidOperationException This operation can only be performed on a swept blend form.