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