ReadDWF Class

Utility class for loading Dwf files asynchronously.
Public Class ReadDWF 
Inherits ReadAutodesk
This language is not supported or no code example is available.
public class ReadDWF : ReadAutodesk
This language is not supported or no code example is available.
Name Description
Public property AttributeReferenceVisibilityMode Gets or sets the AttributeReference visibility mode. (inherited from ReadAutodesk).
Public property BasePoint Gets the base point of the entities, read from the file. (inherited from ReadAutodesk).
Public property ExplodeDimensions If true, the Dimension and Leader are exploded to their inner entities when loaded and put in Blocks with "Dimension_#" name. (inherited from ReadAutodesk).
Public property ExtrudeByThickness Gets or sets a value indicating whether the curve with a defined thickness value are extruded as Mesh or Surface. (inherited from ReadAutodesk).
Public property FailedToLoad Gets the block references that failed to load. (inherited from ReadAutodesk).
Public property FixErrors If true, checks the drawing database consistency and fixes the errors. (inherited from ReadAutodesk).
Public property ForegroundColor Gets or sets the color assigned to entities and layers that were saved with foreground color method ( AutoCAD color index 7). (inherited from ReadAutodesk).
Public property HatchImportMode Gets or sets how to load the hatches. (inherited from ReadAutodesk).
Public property LayersToLoad Gets or sets the list of layers to load. Only the Entities on these layers will be loaded. (inherited from ReadAutodesk).
Public property Layouts Gets a dictionary with the name and the entities array for each layout found in the file. (inherited from ReadAutodesk).
Public property Materials Gets the collection of materials read from the file. (inherited from ReadAutodesk).
Public property Max Gets the Bounding Box maximum point. (inherited from ReadAutodesk).
Public property Min Gets the Bounding Box minimum point. (inherited from ReadAutodesk).
Public property ModelXData Gets the XData value list of the Model_Space block. (inherited from ReadAutodesk).
Public property OriginalFileVersion Gets the version of the imported AutoCAD file. (inherited from ReadAutodesk).
Public property Password Gets or sets the AutoCAD file password, can be null/Nothing.. (inherited from ReadAutodesk).
Public property SearchFolders Gets the list of search folders for the missing XReferences. (inherited from ReadAutodesk).
Public property Simplify Controls if generic surfaces are converted to PlanarSurface, TabulatedSurface or RevolvedSurface and generic curves are converted to Line, Arc or Circle to improve import speed. (inherited from ReadAutodesk).
Public property SkipExternalReferences Gets or sets a value indicating whether the external references are skipped by the loading. (inherited from ReadAutodesk).
Public property SkipHatches Obsolete. Gets or sets a value indicating whether the hatches are skipped by the loading. (inherited from ReadAutodesk).
Public property SkipLayouts Gets or sets a value indicating whether the layouts inside the paper spaces are skipped by the loading. (inherited from ReadAutodesk).
Public property SkipOleObjects Gets or sets a value indicating whether the Ole2Frame objects are skipped by the loading. (inherited from ReadAutodesk).
Public property SkipProxies Gets or sets a value indicating whether the proxies are skipped by the loading. (inherited from ReadAutodesk).
Public property SupportedLinearUnitsType Gets the supported linear units (inherited from ReadAutodesk).
Protected property buildDefaultDrawing (inherited from ReadAutodesk).
Protected property noDocument (inherited from ReadAutodesk).
Top
Methods
 
Name Description
Public method AddToDrawings(Drawings) (inherited from ReadAutodesk).
Public method AddToScene(Environment, Color) Adds to the Environment the entities loaded from the Autodesk file, along with layers and blocks. Blocks and layers contained previously in the Environment are merged.
Public method AddToScene(Environment, RegenOptions, bool, string)
Public method AddToScene(Environment, int) Adds to the Environment the entities loaded from the Autodesk file, along with layers and blocks. Blocks and layers contained previously in the Environment are merged.
Public method AddToScene(Environment, int, Color) Adds to the Environment the entities loaded from the Autodesk file, along with layers and blocks. Blocks and layers contained previously in the Environment are merged.
Public method AddToScene(Environment, string) Adds to the Environment the entities loaded from the Autodesk file, along with layers and blocks. Blocks and layers contained previously in the Environment are merged.
Public method AddToScene(Environment, string, Color) Adds to the Environment the entities loaded from the Autodesk file, along with layers and blocks. Blocks and layers contained previously in the Environment are merged.
Public method AddToSceneAsSingleObject(Environment, string, Color)
Public method AddToSceneAsSingleObject(Environment, string, int) Adds to scene putting the entities inside a Block and creating a BlockReference referring to it.
Public method AddToSceneAsSingleObject(Environment, string, int, Color) Adds to scene putting the entities inside a Block and creating a BlockReference referring to it.
Public method AddToSceneAsSingleObject(Environment, string, string) Adds to scene putting the entities inside a Block and creating a BlockReference referring to it.
Public method AddToSceneAsSingleObject(Environment, string, string, Color) Adds to scene putting the entities inside a Block and creating a BlockReference referring to it.
Public method CreateXRef(string, Point3D, Environment, string, blockExportType) Creates a block with the loaded entities, adds it to the Environment, marks it as external reference and returns a BlockReference to that block. (inherited from ReadAutodesk).
Protected method DoWork(BackgroundWorker, DoWorkEventArgs) (inherited from ReadAutodesk).
Public method Equals(Object) Determines whether the specified object is equal to the current object. (inherited from Object).
Public method FillMaterials(Model) Automatically merges materials with existing ones. (inherited from ReadAutodesk).
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 MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object).
Public method Static OnApplicationExit(object, EventArgs) Under some circumstances you can need to call this method if you get an exception after closing the application (inherited from ReadAutodesk).
Protected method ReadEntity(OdDbEntity, ReadEntityData) Reads an Autocad entity. (inherited from ReadAutodesk).
Protected method ReadSolidHatch(OdDbHatch, ReadEntityData) Reads a solid hatch. (inherited from ReadAutodesk).
Public method SetView(Viewport) Sets the view read from the file on the given viewport. (inherited from ReadAutodesk).
Public method ToString Returns a string that represents the current object. (inherited from Object).
Top

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition