GetData Method


IExternal Data Manager Server Get Data Method

Obtains the data.

Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
IList<ExternalDataManagerDataItem> GetData(
	Document document
)

Parameters

document Document
The document..

Return Value

IList ExternalDataManagerDataItem
Empty if the server has no data.
Remarks
Revit requests the data whenever the Manage Links dialog needs to populate or refresh its table. Implementations should return the full, up-to-date set, even if only a subset has changed, because the UI performs its own diff to minimize redraws. Performance tips: Avoid heavy I/O inside this call; maintain a lightweight in-memory cache and refresh it asynchronously where possible. The array may be large; reserve capacity when building it to avoid excessive reallocations.
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 →