FamilyManager.SetValueString
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.
public void SetValueString(
FamilyParameter familyParameter,
string value
)
-
familyParameterThe family parameter of current type.
-
StringvalueThe new value string for family parameter.
-
Thrown when the input argument-"familyParameter" or "value"-isnullNothingnullptra null reference (Nothingin Visual Basic).
-
Thrown when the input argument-"familyParameter"-is an invalid family parameter. or the input argument-"value"-is an illegal string.
-
Thrown when the input argument-"familyParameter"-is out of range.
-
Thrown when the family parameter is determined by formula, or it is not a value type, or the current family type is invalid.