Share

FamilyDocument Nodes

See Details for more information on the following nodes.

Node Name Notes
FamilyDocument.ByDocument Get FamilyDocument from a Document if this document is a Family Document.
FamilyDocument.AddParameter Add a new family parameter with a given name.
FamilyDocument.DeleteParameter Remove an existing family parameter from the family.
FamilyDocument.Category Retrieves the Category object that represents the category or sub category in which the elements ( this family could generate ) reside.
FamilyDocument.GetFormula Get the formula of a family parameter.
FamilyDocument.Parameters All family parameters in this family.
FamilyDocument.GetParameterValueByName Get the value of a family parameter of the current family type, this applies to all family parameters (instance and type).
FamilyDocument.SetCategory Set the Category of the Family.
FamilyDocument.SetFormula Set the formula of a family parameter (syntax is exactly as Revit, whatever works in Revit's formulas works here).
FamilyDocument.SetParameterValueByName Set the value of a family parameter of the current family type, this applies to all family parameters (instance and type).

Was this information helpful?