ExternalResourceLoadStatus Enumeration


External Resource Load Status Enumeration

A flag to indicate the status of an ExternalResource load request.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public enum ExternalResourceLoadStatus
Members
Member name Value Description
Success 0 The load operation was successful.
Failure 1 The load operation failed.
Uninitialized 2 The load operation is in an incomplete state. Revit will treat this result as a failure.
ResourceAlreadyCurrent 3 The current version of the resource is already loaded into Revit so no changes were made to the model.
CannotFindServer 4 The server identified by the ExternalResourceReference could not be found, and may not be registered.
ServerThrewException 5 The server identified by the ExternalResourceReference threw an exception while attempting to load a resource.
Remarks
This flag is returned by the LoadResource method of the IExternalResourceServer class to inform callers whether the load operation succeeded, or encountered an error.
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →