WriteAutodesk.PrepareForWriting Method

Protected Sub PrepareForWriting( _ 
ByVal xRefName As String, _ 
ByVal savedXRefPaths As Dictionary(Of String, String), _ 
ByVal myEntities As IList(Of Entity), _ 
ByVal myLayers As LayerKeyedCollection, _ 
ByVal myBlocks As BlockKeyedCollection, _ 
ByVal myTextStyles As TextStyleKeyedCollection, _ 
ByVal myLineTypes As LineTypeKeyedCollection, _ 
ByVal myMaterials As MaterialKeyedCollection, _ 
ByRef layersToSave As LayerKeyedCollection, _ 
ByRef textStylesToSave As TextStyleKeyedCollection, _ 
ByRef lineTypesToSave As LineTypeKeyedCollection, _ 
ByRef materialsToSave As MaterialKeyedCollection, _ 
ByRef mapLayersOldNew As Dictionary(Of String, String), _ 
ByRef currXRefPaths As Dictionary(Of String, String), _ 
ByRef blocksToSave As BlockKeyedCollection
)
This language is not supported or no code example is available.
protected void PrepareForWriting( 
string xRefName
Dictionary<string, string> savedXRefPaths
IList<Entity> myEntities
LayerKeyedCollection myLayers
BlockKeyedCollection myBlocks
TextStyleKeyedCollection myTextStyles
LineTypeKeyedCollection myLineTypes
MaterialKeyedCollection myMaterials
out LayerKeyedCollection layersToSave
out TextStyleKeyedCollection textStylesToSave
out LineTypeKeyedCollection lineTypesToSave
out MaterialKeyedCollection materialsToSave
out Dictionary<string, string> mapLayersOldNew
out Dictionary<string, string> currXRefPaths
out BlockKeyedCollection blocksToSave 
)
This language is not supported or no code example is available.

Parameters

xRefName
string

savedXRefPaths
Dictionary<string, string>

myEntities
IList<Entity>

myLayers
LayerKeyedCollection

myBlocks
BlockKeyedCollection

myTextStyles
TextStyleKeyedCollection

myLineTypes
LineTypeKeyedCollection

myMaterials
MaterialKeyedCollection

layersToSave
LayerKeyedCollection

textStylesToSave
TextStyleKeyedCollection

lineTypesToSave
LineTypeKeyedCollection

materialsToSave
MaterialKeyedCollection

mapLayersOldNew
Dictionary<string, string>

currXRefPaths
Dictionary<string, string>

blocksToSave
BlockKeyedCollection

.NET Framework

Supported in: 4.8

In this article

Definition