Request

Response

    IElementDataModel.GetGeometriesAsync method

    Gets geometries that have been assigned at the model level, filtered by geometry type and output options.

    public Task<IEnumerable<IElementGeometry>> GetGeometriesAsync(
        GeometryOutputOptions geometryOutputOptions = null, 
        CancellationToken cancellationToken = default)
    
    parameterdescription
    geometryOutputOptions Options to control geometry output formats.
    cancellationToken Cancellation token.

    Return Value

    Filtered collection of ElementGeometry objects.

    Exceptions

    exceptioncondition
    GeometryDownloadException Thrown when geometry download or conversion fails.

    See Also