Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Geometry Namespace / UtilityEx Class / GetEntitiesStats Method / GetEntitiesStats(IList<Entity>,LayerKeyedCollection,BlockKeyedCollection,MaterialKeyedCollection,TextStyleKeyedCollection,LineTypeKeyedCollection,Boolean,Boolean,Boolean) Method
The collection of entities
The layers to process. It can be null if showCollectionsItems is false.>
The blocks to process. It can be null if showTotals is false.>
The materials to process. It can be null if showCollectionsItems is false.>
The textStyles to process. It can be null if showCollectionsItems is false.>
The lineTypes to process. It can be null if showCollectionsItems is false.>
When true it shows also the total's count, otherwise no.
When true it shows also the detail of the entities contained into each block.
When true it shows also the list of the master collections items.

In This Topic
    GetEntitiesStats(IList<Entity>,LayerKeyedCollection,BlockKeyedCollection,MaterialKeyedCollection,TextStyleKeyedCollection,LineTypeKeyedCollection,Boolean,Boolean,Boolean) Method
    In This Topic
    Get the statistics for a collection of entities.
    Syntax
    'Declaration
     
    Public Overloads Shared Function GetEntitiesStats( _
       ByVal entityList As IList(Of Entity), _
       ByVal layers As LayerKeyedCollection, _
       ByVal blocks As BlockKeyedCollection, _
       ByVal materials As MaterialKeyedCollection, _
       ByVal textStyles As TextStyleKeyedCollection, _
       ByVal lineTypes As LineTypeKeyedCollection, _
       ByVal showTotals As Boolean, _
       Optional ByVal showBlocksDetails As Boolean, _
       Optional ByVal showCollectionsItems As Boolean _
    ) As String

    Parameters

    entityList
    The collection of entities
    layers
    The layers to process. It can be null if showCollectionsItems is false.>
    blocks
    The blocks to process. It can be null if showTotals is false.>
    materials
    The materials to process. It can be null if showCollectionsItems is false.>
    textStyles
    The textStyles to process. It can be null if showCollectionsItems is false.>
    lineTypes
    The lineTypes to process. It can be null if showCollectionsItems is false.>
    showTotals
    When true it shows also the total's count, otherwise no.
    showBlocksDetails
    When true it shows also the detail of the entities contained into each block.
    showCollectionsItems
    When true it shows also the list of the master collections items.

    Return Value

    The string with the count of each entity's type.
    Remarks
    The entities inside the blocks are processed only for the counting of vertices and triangles.
    See Also