RVTDocs.com
Namespace: Autodesk.Revit.DB Class: FamilyInstance

FamilyInstance.GetReferences

Method
Description:
Gets family instance references corresponding to the reference planes or reference lines of the given reference type in the instance's family.
Remarks:
Reference planes from the instance's family that have their "Is Reference" property set to "Not a Reference" do not create references in the family instance.
Syntax
Parameters
Parameter Type Description
referenceType FamilyInstanceReferenceType The family reference type.
Return Value
Type Description
IList Returns all the family instance references corresponding to reference planes and reference lines of the given reference type. Returns null if there are no family instance references of the given reference type, or if the input reference type is FamilyInstanceReferenceType.NotAReference.
Exceptions
Exception Condition
ArgumentOutOfRangeException A value passed for an enumeration argument is not a member of that enumeration