Set the string value of a family parameter of the current family type.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public void Set( FamilyParameter familyParameter, string value )
Parameters
- familyParameter FamilyParameter
- A family parameter of the current type.
- value String
- The new value for family parameter.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown when the input argument-"familyParameter"-is null. |
ArgumentException | Thrown when the input argument-"familyParameter"-is an invalid family parameter. |
ArgumentOutOfRangeException | Thrown when the input argument-"familyParameter"-is out of range. |
InvalidOperationException | Thrown when the family parameter is determined by formula, or the current family type is invalid. |