2021 Class
Changes 0
C

CADLinkOperations

Description:
This class is used to extend the IExternalResourceServer interface with methods to support operations specifically related to DWG links.
Remarks:

The class owns single-method interfaces which are used as callbacks to perform specific operations on DWG link external resources.

An empty CADLinkOperations instance is passed to an IExternalResourceServer (inside an ExternalResourceServerExtensions object) via the GetTypeSpecificServerOperations method. The server provider can then add their own implemented interface objects to the CADLinkOperations, thus making them available to Revit to use as callbacks.

Supporting these additional, type-specific operations is not absolutely required, but is strongly recommended in order for users to be able to perform all the same operations they would with locally-accessed links.

Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.LinkOperations
    Autodesk.Revit.DB.CADLinkOperations
Name Return Type Description Inherited From
M Dispose() None Releases all resources used by the LinkOperations
M SetOnLocalLinkSharedCoordinatesSavedCallback(IOnLocalLinkSharedCoordinatesSavedCallback) None Sets the callback that will be called when the Revit user saves new shared coordinate settings to a linked document obtained from an IExternalResourceServer. LinkOperations
Name Return Type Description Inherited From
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity. LinkOperations