2027 Class
Changes 8
C

ExternalDataManagerDataItem

Description:
Represents an item of the extenal data.
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.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.UI.ExternalDataManagerDataItem
public class ExternalDataManagerDataItem : IDisposable
Name Return Type Description Inherited From
C ExternalDataManagerDataItem(ExternalDataManagerDataItem) None Create a copy of the object.
C ExternalDataManagerDataItem(ExternalDataManagerDataItemId) None Constructor
Name Return Type Description Inherited From
M Dispose() None Releases all resources used by the ExternalDataManagerDataItem
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetId() ExternalDataManagerDataItemId Gets the id of the data item.
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M SetId(ExternalDataManagerDataItemId) None Sets the id of the data item.
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
Name Return Type Description Inherited From
P Count int The count of the data item.
P IsValidObject Boolean Specifies whether the .NET object represents a valid Revit entity.
P Name string The name of the data item.
P Path string The saved path of the data item.
P PathType string The path type of the saved path (e.g. "Absolute", "Relative", "Cloud").
P ReferenceType string The reference type of the data item (e.g. "Import", "Link", "Overlay", "Attachment").
P Resolution string The width and height of a image data item if applicable.
P Size int The file size (Bytes) of the data item if applicable.
P Status LinkedFileStatus The status of the data item.
P Version string The version of the data item.