ExternalDataManagerDataItem Class

Represents an item of the extenal data.
Inheritance Hierarchy
SystemObject
  Autodesk.Revit.UIExternalDataManagerDataItem

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
 NameDescription
Public propertyCount The count of the data item.
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
Public propertyName The name of the data item.
Public propertyPath The saved path of the data item.
Public propertyPathType The path type of the saved path (e.g. "Absolute", "Relative", "Cloud").
Public propertyReferenceType The reference type of the data item (e.g. "Import", "Link", "Overlay", "Attachment").
Public propertyResolution The width and height of a image data item if applicable.
Public propertySize The file size (Bytes) of the data item if applicable.
Public propertyStatus The status of the data item.
Public propertyVersion The version of the data item.
Top
Methods
 NameDescription
Public methodDisposeReleases all resources used by the ExternalDataManagerDataItem
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetId Gets the id of the data item.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodSetId Sets the id of the data item.
Public methodToStringReturns 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