DwgImportBlocksAs

Namespace: Digi21.DigiNG.IO.Dwg
Assembly: Digi21.DigiNG.IO.Dwg

Entity type to which each AutoCAD block reference is converted when reading a DWG file. This is the type of the BlockCriteria property of DwgParameters and corresponds to the Import blocks as property in the AutoCAD DWG files importer/exporter.

public enum DwgImportBlocksAs

Values

Value Number Meaning
Complex 0 Each block reference is read as a complex (ReadOnlyComplex) containing the block's entities. Tables and multiple references (MINSERT) are not read as complexes. Complex is the BlockCriteria property value when creating new DwgParameters().
Point 1 Each block reference is read as a point (ReadOnlyPoint) at the reference's insertion point.

Example

The Dwg example assigns DwgImportBlocksAs.Point.