Revit 2025.3 API
ReferenceCreate |
Creates a Reference from a Reference in an RVT Link.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public Reference CreateLinkReference( RevitLinkInstance revitLinkInstance )
Public Function CreateLinkReference ( revitLinkInstance As RevitLinkInstance ) As Reference
public: Reference^ CreateLinkReference( RevitLinkInstance^ revitLinkInstance )
member CreateLinkReference : revitLinkInstance : RevitLinkInstance -> Reference
Parameters
- revitLinkInstance RevitLinkInstance
- Id of the RevitLinkInstance that contains the reference.
Return Value
Reference| Exception | Condition |
|---|---|
| ArgumentNullException | Thrown when revitLinkInstance is . |
The reference that is returned can be used to create a family instance on a face in an RVT link.
See Also