FamilyManager.SetFormula
Description:
Set the formula of a family parameter.
Set the formula of a family parameter.
public void SetFormula(
FamilyParameter familyParameter,
string formula
)
-
familyParameterThe family parameter.
-
StringformulaThe formula string, input nulla null reference (Nothing in Visual Basic) to clean the formula of the parameter.
-
Thrown when the input argument-"familyParameter"-isnullNothingnullptra null reference (Nothingin Visual Basic).
-
Thrown when there is no valid family type, or the parameter cannot be assigned a formula, or the operation make a circular chain of references among the formulas.