Eyeshot 10 WinForms API Reference
ReplaceBlockNames Method

WinForms Assembly > devDept.Eyeshot Namespace > EntityList Class : ReplaceBlockNames Method
The dictionary that maps the old block name to the new one
The entities to process
The blocks to process
Replaces the block names in the BlockReference and Block objects found in the given entities and blocks with the ones specified by the mapping.
Syntax
'Declaration
 
Public Shared Sub ReplaceBlockNames( _
   ByVal blockNamesMapping As Dictionary(Of String,String), _
   ByVal entities As IList(Of Entity), _
   ByRef blocks As Dictionary(Of String,Block) _
) 
public static void ReplaceBlockNames( 
   Dictionary<string,string> blockNamesMapping,
   IList<Entity> entities,
   ref Dictionary<string,Block> blocks
)

Parameters

blockNamesMapping
The dictionary that maps the old block name to the new one
entities
The entities to process
blocks
The blocks to process
See Also

Reference

EntityList Class
EntityList Members