Share

Reference.CreateLinkReference Method

Creates a Reference from a Reference in an RVT Link.


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

Syntax

C#

public Reference CreateLinkReference(
	RevitLinkInstance revitLinkInstance
)

Parameters

revitLinkInstance  RevitLinkInstance
Id of the RevitLinkInstance that contains the reference.

Return Value

Reference

Exceptions

ExceptionCondition
ArgumentNullExceptionThrown when revitLinkInstance is nullptr.

Remarks

The reference that is returned can be used to create a family instance on a face in an RVT link.

See Also

Reference

Was this information helpful?