IElementDataModel.GetGeometryMetaDataById method
Finds geometry by its connector-supplied source identifier (see SourceId ) and returns lightweight metadata (no geometry download).
public IEnumerable<GeometryMetaData> GetGeometryMetaDataById(string sourceId,
IElement element = null)
| parameter | description |
|---|---|
| sourceId | The geometry source identifier to match (see SourceId ). |
| element | The element whose geometry to search; null (default) targets model-level geometry. |
Return Value
Metadata for every live (non-deleted) geometry whose source identifier matches; empty when none match.
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | Thrown when sourceId is null. |
| ArgumentException | Thrown when sourceId is empty, or when element is not an SDK-provided IElement implementation. |
See Also
- class GeometryMetaData
- interface IElement
- interface IElementDataModel
- namespace Autodesk.DataExchange.Interface