FamilyInstance.GetReferenceType
Method
Description:
Gets the type of the reference plane or reference line in the instance's family corresponding to the given family instance reference.
Gets the type of the reference plane or reference line in the instance's family corresponding to the given family instance reference.
Parameters
Parameter | Type | Description |
---|---|---|
reference | Reference | The family instance reference. |
Return Value
Type | Description |
---|---|
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
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |