Share

FamilyInstance.GetReferenceType Method

Gets the type of the reference plane or reference line in the instance's family corresponding to the given family instance reference.


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public FamilyInstanceReferenceType GetReferenceType(
	Reference reference
)

Parameters

reference  Reference
The family instance reference.

Return Value

FamilyInstanceReferenceType
Returns the type of the reference plane or reference line in the instance's family corresponding to the given family instance reference. Returns FamilyInstanceReferenceType.NotAReference if the instance reference doesn't correspond to a reference plane or line in the family.

Exceptions

ExceptionCondition
ArgumentNullException A non-optional argument was null

See Also

Reference

Was this information helpful?