Gets the family instance reference corresponding to the named reference plane in the instance's family.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public Reference GetReferenceByName( string name )
Parameters
- name String
- The name of the reference plane in the family.
Return Value
ReferenceReturns the family instance reference corresponding to the named reference plane in the instance's family. Returns null if there is no reference plane with this name in the family, or if the plane exists but its "Is Reference" property is "Not a Reference", or if the input string is empty.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |