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 null to clean the formula of the parameter.
-
Thrown when the input argument-"familyParameter"-is.
-
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.