GetLocalPathForOpen Method


IGet Local Path For Open Callback Get Local Path For Open Method

Implement this method to specify the local path from where a copy of a Revit link external resource can be opened for modification without interfering with its use as a link in other open documents.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
string GetLocalPathForOpen(
	ExternalResourceReference desiredResource
)

Parameters

desiredResource ExternalResourceReference
The ExternalResourceReference that needs to be opened for modification by Revit.

Return Value

String
The local path from where Revit can open the linked file as its own top-level document.
See Also