Revit 2025.3 API
Link |
Sets the Link data path owned by this LinkLoadContent object.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public void SetLinkDataPath( ModelPath linkPath )
Public Sub SetLinkDataPath ( linkPath As ModelPath )
public: void SetLinkDataPath( ModelPath^ linkPath )
member SetLinkDataPath : linkPath : ModelPath -> unit
Parameters
- linkPath ModelPath
- The Links data path set for this LinkLoadContent object.

Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |

This path must be a location accessible to Revit. Revit will attempt to load the link from this location.
See Also