WriteAutodesk Class

Helper class to export geometry in DWG/DXF file format.
Public Class WriteAutodesk 
Inherits WriteDatabase
This language is not supported or no code example is available.
public class WriteAutodesk : WriteDatabase
This language is not supported or no code example is available.
Name Description
Public constructor WriteAutodesk(Environment, Stream, bool, bool, bool, lineWeightUnitsType, bool) Obsolete. To stream with versionType.Release12 version constructor.
Public constructor WriteAutodesk(Environment, Stream, versionType, bool, bool, bool, lineWeightUnitsType, bool) Obsolete. To stream with AutoCAD version constructor.
Public constructor WriteAutodesk(Environment, Stream, versionType, double, bool, bool, bool, lineWeightUnitsType, bool) Obsolete. To stream with AutoCAD version and deviation constructor.
Public constructor WriteAutodesk(IList<Entity>, IEnumerable<Layer>, IDictionary<StringBlock>, IDictionary<StringTextStyle>, IDictionary<StringLinePattern>, MaterialKeyedCollection, Stream, linearUnitsType, versionType, double, bool, bool, bool, lineWeightUnitsType, bool) Obsolete. To stream with AutoCAD version and deviation constructor.
Public constructor WriteAutodesk(IList<Entity>, IEnumerable<Layer>, IDictionary<StringBlock>, IDictionary<StringTextStyle>, IDictionary<StringLinePattern>, MaterialKeyedCollection, string, linearUnitsType, versionType, string, double, bool, bool, lineWeightUnitsType, bool) Obsolete. Version, password and deviation constructor.
Public constructor WriteAutodesk(IList<Entity>, IEnumerable<Layer>, IDictionary<StringBlock>, IDictionary<StringTextStyle>, string, linearUnitsType, versionType, string, double, bool, bool, lineWeightUnitsType, bool) Obsolete. Version, password and deviation constructor.
Public constructor WriteAutodesk(IList<Entity>, IEnumerable<Layer>, IDictionary<StringBlock>, IDictionary<StringTextStyle>, IDictionary<StringLinePattern>, Stream, linearUnitsType, bool, bool, bool, lineWeightUnitsType, bool) Obsolete. To stream with versionType.Release12 version constructor.
Public constructor WriteAutodesk(IList<Entity>, IEnumerable<Layer>, IDictionary<StringBlock>, IDictionary<StringTextStyle>, IDictionary<StringLinePattern>, Stream, linearUnitsType, versionType, bool, bool, bool, lineWeightUnitsType, bool) Obsolete. To stream with AutoCAD version constructor.
Public constructor WriteAutodesk(IList<Entity>, IEnumerable<Layer>, IDictionary<StringBlock>, IDictionary<StringTextStyle>, IDictionary<StringLinePattern>, string, linearUnitsType, bool, bool, lineWeightUnitsType, bool) Obsolete. versionType.Release12 version constructor.
Public constructor WriteAutodesk(IList<Entity>, IEnumerable<Layer>, IDictionary<StringBlock>, IDictionary<StringTextStyle>, IDictionary<StringLinePattern>, string, linearUnitsType, versionType, bool, bool, lineWeightUnitsType, bool) Obsolete. Version constructor.
Public constructor WriteAutodesk(IList<Entity>, IEnumerable<Layer>, IDictionary<StringBlock>, IDictionary<StringTextStyle>, Stream, linearUnitsType, versionType, double, bool, bool, bool, lineWeightUnitsType, bool) Obsolete. To stream with AutoCAD version and deviation constructor.
Public constructor WriteAutodesk(Model, string, bool, bool, lineWeightUnitsType, bool) Obsolete. versionType.Release12 version constructor.
Public constructor WriteAutodesk(Model, string, versionType, bool, bool, lineWeightUnitsType, bool) Obsolete. Version constructor.
Public constructor WriteAutodesk(Model, string, versionType, string, double, bool, bool, lineWeightUnitsType, bool) Obsolete. Version, password and deviation constructor.
Public constructor WriteAutodesk(WriteAutodeskParams, Stream) To stream with write params.
Public constructor WriteAutodesk(WriteAutodeskParams, string) To file with write params.
Top
Name Description
Public property Static SupportedLinearUnitsType Gets the supported linear units (inherited from WriteDatabase).
Top
Methods
 
Name Description
Public method Static CleanFileName(string) (inherited from WriteDatabase).
Protected method DoWork(BackgroundWorker, DoWorkEventArgs)
Public method Equals(Object) Determines whether the specified object is equal to the current object. (inherited from Object).
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object).
Public method GetHashCode Serves as the default hash function. (inherited from Object).
Public method GetType Gets the Type of the current instance. (inherited from Object).
Protected method InitLayers(LayerKeyedCollection) (inherited from WriteDatabase).
Protected method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object).
Protected method PrepareForWriting(string, Dictionary<StringString>, IList<Entity>, LayerKeyedCollection, BlockKeyedCollection, TextStyleKeyedCollection, LineTypeKeyedCollection, MaterialKeyedCollection, out LayerKeyedCollection, out TextStyleKeyedCollection, out LineTypeKeyedCollection, out MaterialKeyedCollection, out Dictionary<StringString>, out Dictionary<StringString>, out BlockKeyedCollection)
Protected method SortEntitiesForWriteAutodesk(IList<Entity>) Gives the opportunity to sort entities before export. (inherited from WriteDatabase).
Public method ToString Returns a string that represents the current object. (inherited from Object).
Protected method WriteDatabaseInternal(string, IList<Entity>, BackgroundWorker, DoWorkEventArgs, OdDbDatabase, LayerKeyedCollection, BlockKeyedCollection, Dictionary<StringString>, TextStyleKeyedCollection, LineTypeKeyedCollection, MaterialKeyedCollection, attributeReferenceVisibilityType, bool, string) (inherited from WriteDatabase).
Protected method WriteFile(OdDbDatabase)
Top
Name Description
Public enumeration blockExportType Block export type.
Public enumeration formatType
Public enumeration versionType AutoCAD file version type.
Top
Fields
 
Name Description
Protected field _explodeViews (inherited from WriteDatabase).
Protected field aciColors If true, saves the colors as Aci colors (Autocad color index) if possible (inherited from WriteDatabase).
Protected field attributeReferenceVisibilityMode (inherited from WriteDatabase).
Protected field curvesAsFitSpline (inherited from WriteDatabase).
Protected field foregroundColor The color saved as foreground color ( AutoCAD color index 7). (inherited from WriteDatabase).
Protected field format Gets or sets the AutoCAD file format.
Protected field lineTypes (inherited from WriteDatabase).
Protected field lineWeightUnits Gets or sets the units in which are expressed the line weights. (inherited from WriteDatabase).
Protected field materials (inherited from WriteDatabase).
Protected field password Gets or sets the AutoCAD file password.
Protected field purge If true, purges all unused layers, line types, text styles and blocks from the saved file. (inherited from WriteDatabase).
Protected field saveGeometry (inherited from WriteDatabase).
Protected field sheets (inherited from WriteDatabase).
Protected field textStyles (inherited from WriteDatabase).
Protected field textureImagesPath Gets or sets the path for the output texture images of materials. (inherited from WriteDatabase).
Protected field version Gets or sets the versionType.
Protected field viewport (inherited from WriteDatabase).
Top

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition