UtilityEx.GetEntitiesStats (IList<Entity>, BlockKeyedCollection, Boolean, Boolean) Method

NOTE: This member is now obsolete. Use the method that accepts all the master collections instead.

Get the statistics for a collection of entities.
Public Shared Function GetEntitiesStats( _ 
ByVal entityList As IList(Of Entity), _ 
ByVal blocks As BlockKeyedCollection, _ 
ByVal showTotals As Boolean, _ 
Optional ByVal showBlocksDetails As Boolean = false _ 
) As String
This language is not supported or no code example is available.
public static string GetEntitiesStats( 
IList<Entity> entityList
BlockKeyedCollection blocks
bool showTotals
bool showBlocksDetails = false 
)
This language is not supported or no code example is available.

Parameters

entityList
IList<Entity>

The collection of entities

blocks
BlockKeyedCollection

The blocks to process. It can be null if showTotals is false.>

showTotals
bool

When true it shows also the total's count, otherwise no.

showBlocksDetails
bool

When true it shows also the detail of the entities contained into each block.

Return Value

string

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.

.NET Framework

Supported in: 4.8

In this article

Definition