Request

Response

    IElementDataModel.GetElementGeometryCounts method

    Gets the count of different geometry types for the specified elements without downloading geometry files. This method provides an efficient way to determine what types of geometries are available for a set of elements before deciding whether to download them.

    public Dictionary<GeometryFilters, long> GetElementGeometryCounts(IEnumerable<IElement> elements)
    
    parameterdescription
    elements The elements to count geometries for.

    Return Value

    A dictionary containing geometry filter types and their counts.

    Exceptions

    exceptioncondition
    ArgumentNullException Thrown when elements is null or contains a null entry.
    ArgumentException Thrown when an entry is not an SDK-provided IElement implementation.

    See Also