Set the family parameter as an instance parameter.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public void MakeInstance( FamilyParameter familyParameter )
Parameters
- familyParameter FamilyParameter
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | Thrown when the input argument-"familyParameter"-is null. |
| 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. |
