2020 Class
Changes 7
C

FamilyManager

Description:
The family manager object to manage the family types and parameters in family document.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.APIObject
    Autodesk.Revit.DB.FamilyManager
public class FamilyManager : APIObject
Name Return Type Description Inherited From
M AddParameter(ExternalDefinition, BuiltInParameterGroup, Boolean) FamilyParameter Add a new shared parameter to the family.
M AddParameter(String, BuiltInParameterGroup, Category, Boolean) FamilyParameter Add a new family type parameter to control the type of a nested family within another family.
M AddParameter(String, BuiltInParameterGroup, ParameterType, Boolean) FamilyParameter Add a new family parameter with a given name.
M AssociateElementParameterToFamilyParameter(Parameter, FamilyParameter) None Associates or disassociates the element parameter to an existing family parameter.
M CanElementParameterBeAssociated(Parameter) bool Indicates if this element parameter can be associated with a family parameter.
M DeleteCurrentType() None Remove the current family type.
M GetAssociatedFamilyParameter(Parameter) nullNothingnullptr Gets the associated family parameter of an element parameter.
M GetParameters() IList<FamilyParameter> Gets the parameters associated to family types in order.
M IsParameterLockable(FamilyParameter) bool For Conceptual Mass and Curtain Panel families, indicate whether the specified parameter can be locked.
M IsParameterLocked(FamilyParameter) bool For Conceptual Mass and Curtain Panel families, indicate whether the specified dimension-driving parameter is locked.
M IsUserAssignableParameterGroup(BuiltInParameterGroup) bool Checks if the given parameter group can be assigned to new parameters.
M MakeInstance(FamilyParameter) None Set the family parameter as an instance parameter.
M MakeNonReporting(FamilyParameter) None Set the reporting family parameter as a regular/driving parameter.
M MakeReporting(FamilyParameter) None Set the family parameter as a reporting parameter.
M MakeType(FamilyParameter) None Set the family parameter as a type parameter.
M NewType(String) FamilyType Add a new family type with a given name and makes it be the current type.
M RemoveParameter(FamilyParameter) None Remove an existing family parameter from the family.
M RenameCurrentType(String) None Rename the current family type.
M RenameParameter(FamilyParameter, String) None Rename a family parameter.
M ReorderParameters(IList<FamilyParameter>) None Reorders the family parameters by the specified parameters order.
M ReplaceParameter(FamilyParameter, ExternalDefinition, BuiltInParameterGroup, Boolean) FamilyParameter Replace a family parameter with a shared parameter.
M ReplaceParameter(FamilyParameter, String, BuiltInParameterGroup, Boolean) FamilyParameter Replace a shared family parameter with a new non-shared family parameter.
M SetDescription(FamilyParameter, String) None Set the description for an existing family parameter. The description will be used as tooltip in the Revit UI including in the properties palette.
M SetFormula(FamilyParameter, String) None Set the formula of a family parameter.
M Set(FamilyParameter, Double) None Set the double value of a family parameter of the current family type.
M Set(FamilyParameter, ElementId) None Set the ElementId value of a family parameter of the current family type.
M Set(FamilyParameter, Int32) None Set the integer value of a family parameter of the current family type.
M Set(FamilyParameter, String) None Set the string value of a family parameter of the current family type.
M SetParameterLocked(FamilyParameter, Boolean) None For Conceptual Mass and Curtain Panel families, lock or unlock a dimension-driving parameter.
M SetValueString(FamilyParameter, String) None Set the string value of a family parameter of the current family type.
M SortParameters(ParametersOrder) None Sorts the family parameters according to the desired sort order.
M Dispose() None Causes the object to release immediately any resources it may be utilizing. APIObject
Name Return Type Description Inherited From
P CurrentType FamilyType The current family type.
P Parameter FamilyParameter Obtains the parameter of this type with a given parameter id.
P Parameter FamilyParameter Obtains the parameter of this type with a given definition.
P Parameter FamilyParameter Obtains the parameter of this type with a given GUID for a shared parameter.
P Parameter FamilyParameter Obtains the parameter of this type with a given name.
P Parameters FamilyParameterSet All family parameters in this family.
P Types FamilyTypeSet All family types in the family.
P IsReadOnly bool Identifies if the object is read-only or modifiable. APIObject