ExternalDataManagerDataItem Class


External Data Manager Data Item Class

Represents an item of the extenal data.
Inheritance Hierarchy
System Object
Autodesk.Revit.UI ExternalDataManagerDataItem

Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
public class ExternalDataManagerDataItem : IDisposable

The ExternalDataManagerDataItem type exposes the following members.

Constructors
Properties
Name Description
Public property Count The count of the data item.
Public property IsValidObject Specifies whether the .NET object represents a valid Revit entity.
Public property Name The name of the data item.
Public property Path The saved path of the data item.
Public property PathType The path type of the saved path (e.g. "Absolute", "Relative", "Cloud").
Public property ReferenceType The reference type of the data item (e.g. "Import", "Link", "Overlay", "Attachment").
Public property Resolution The width and height of a image data item if applicable.
Public property Size The file size (Bytes) of the data item if applicable.
Public property Status The status of the data item.
Public property Version The version of the data item.
Top
Methods
Name Description
Public method Dispose Releases all resources used by the ExternalDataManagerDataItem
Public method Equals Determines whether the specified object is equal to the current object.
(Inherited from Object )
Public method GetHashCode Serves as the default hash function.
(Inherited from Object )
Public method GetId Gets the id of the data item.
Public method GetType Gets the Type of the current instance.
(Inherited from Object )
Public method SetId Sets the id of the data item.
Public method ToString Returns a string that represents the current object.
(Inherited from Object )
Top
Remarks
A lightweight, UI-friendly wrapper around a piece of external data (image, model, point-cloud, etc.). Instances are returned by IExternalDataManagerServer.getData and displayed in the Manage Links dialog. Important implementation notes for server authors: Most properties are optional, so leave them at their default values when the information is not available. The dialog will gracefully hide columns that contain only default/invalid values. All user-visible strings (Name, ReferenceType, PathType) must be localized before they are passed to Revit. The identity (Id) must stay stable for the lifetime of the dialog session so that selections and previews remain valid. Consumers of this class (typically the UI) should treat objects as immutable once they have been handed over, and the server is responsible for creating fresh instances when data changes.
See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →