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