EntityList.ReplaceBlockNames Method

Replaces the block names in the BlockReference and Block objects found in the given entities and blocks with the ones specified by the mapping.
Public Shared Sub ReplaceBlockNames( _ 
ByVal blockNamesMapping As Dictionary(Of String, String), _ 
ByVal entities As IList(Of Entity), _ 
ByRef blocks As BlockKeyedCollection
)
This language is not supported or no code example is available.
public static void ReplaceBlockNames( 
Dictionary<string, string> blockNamesMapping
IList<Entity> entities
ref BlockKeyedCollection blocks 
)
This language is not supported or no code example is available.

Parameters

blockNamesMapping
Dictionary<string, string>

The dictionary that maps the old block name to the new one

entities
IList<Entity>

The entities to process

blocks
BlockKeyedCollection

The blocks to process

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition