FamilyInstanceGetReferenceName Method |
Gets the name of the reference plane in the family corresponding to the given family instance reference.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntaxpublic string GetReferenceName(
Reference reference
)
Public Function GetReferenceName (
reference As Reference
) As String
public:
String^ GetReferenceName(
Reference^ reference
)
member GetReferenceName :
reference : Reference -> string Parameters
- reference Reference
-
The family instance reference.
Returns the driving curve from the family instance reference.
Return Value
String
Returns the name of the reference plane in the family corresponding to the given family instance reference.
If the reference doesn't correspond to a named reference plane, returns an empty string.
Exceptions
Remarks
If the given family reference corresponds to a named reference plane in the instance's family, the name of that reference plane will be returned.
Otherwise, an empty string will be returned.
See Also