UtilityEx.GetReferencedBlocksNames Method

Returns the set of block in use (referenced by a BlockReference) names.
Public Shared Function GetReferencedBlocksNames( _ 
ByVal entities As IList(Of Entity), _ 
ByVal blocks As Dictionary(Of String, Block), _ 
Optional ByVal parentBlocks As Dictionary(Of String, Block) = null _ 
) As HashSet(Of String)
This language is not supported or no code example is available.
public static HashSet<string> GetReferencedBlocksNames( 
IList<Entity> entities
Dictionary<string, Block> blocks
Dictionary<string, Block> parentBlocks = null 
)
This language is not supported or no code example is available.

Parameters

entities
IList<Entity>

The entity list

blocks
Dictionary<string, Block>

The block collection

parentBlocks
Dictionary<string, Block>

Return Value

HashSet<string>

The set of block in use names.

.NET Framework

Supported in: 4.8

In this article

Definition