ElementDataModel.GetDesignInstancesBySourceId method
Returns all the elements that have instantiated this design, keyed by the design’s SourceId.
public IEnumerable<IElement> GetDesignInstancesBySourceId(string sourceId)
| parameter | description |
|---|---|
| sourceId | The design SourceId whose instances to return. |
Return Value
An enumerable of all elements of that design.
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | Thrown when sourceId is null or empty. |
See Also
- interface IElement
- class ElementDataModel
- namespace Autodesk.DataExchange.DataModels