Set the family parameter as an instance parameter.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public void MakeInstance( FamilyParameter familyParameter )
Parameters
- familyParameter FamilyParameter
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown when the input argument-"familyParameter"-is nullptr. |
ArgumentException | Thrown when the input argument-"familyParameter"-is an invalid parameter or a builtIn parameter. |
InvalidOperationException | Thrown when there is Type family parameter driven by this parameter. Or trying to make a parameter of image type to instance. |