SetGetLocalPathForOpenCallback Method


Sets the IGetLocalPathForOpenCallback that will support the "Open (and Unload)" command for Revit links obtained from an IExternalResourceServer.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Since: 2015

Syntax

C#
public void SetGetLocalPathForOpenCallback(
	IGetLocalPathForOpenCallback makeLocalCopyForOpen
)
Visual Basic
Public Sub SetGetLocalPathForOpenCallback ( _
	makeLocalCopyForOpen As IGetLocalPathForOpenCallback _
)
Visual C++
public:
void SetGetLocalPathForOpenCallback(
	IGetLocalPathForOpenCallback^ makeLocalCopyForOpen
)

Parameters

makeLocalCopyForOpen
Type: Autodesk.Revit.DB IGetLocalPathForOpenCallback
The IGetLocalPathForOpenCallback that will support the "Open (and Unload)" command.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentNullException A non-optional argument was NULL

See Also