FamilyManager.SetValueString
Method
Description:
Set the string value of a family parameter of the current family type.
Set the string value of a family parameter of the current family type.
Parameters
Parameter | Type | Description |
---|---|---|
familyParameter | FamilyParameter | The family parameter of current type. |
value | String | The new value string for family parameter. |
Return Value
Exceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when the input argument-"familyParameter" or "value"-is. |
ArgumentException | Thrown when the input argument-"familyParameter"-is an invalid family parameter. or the input argument-"value"-is an illegal string. |
ArgumentOutOfRangeException | Thrown when the input argument-"familyParameter"-is out of range. |
InvalidOperationException | Thrown when the family parameter is determined by formula, or it is not a value type, or the current family type is invalid. |