FamilyManager.AssociateElementParameterToFamilyParameter
Description:
Associates or disassociates the element parameter to an existing family parameter.
Associates or disassociates the element parameter to an existing family parameter.
Remarks:
The parameter types of these two input parameter should be same, if not an exception with failure information will be thrown.
The parameter types of these two input parameter should be same, if not an exception with failure information will be thrown.
public void AssociateElementParameterToFamilyParameter(
Parameter elementParameter,
FamilyParameter familyParameter
)
-
elementParameterThe parameter of an element in family.
-
familyParameterThe existing family parameter. If the input to this argument is null, it will disassociate the element parameter from any family parameters.
-
Thrown when the input argument-"elementParameter"-is.
-
Thrown when the input argument-"elementParameter" or "familyParameter"-is an invalid parameter, or the input argument-"elementParameter"-cannot be associated.
-
Thrown when the family parameter binding failed.