Skip to content
Albert Domenech edited this page Dec 7, 2024 · 32 revisions

ACadSharp

ACadSharp 1.0.3 Library

C# library to read/write cad files like dxf/dwg.

Namespaces

Classes

Name Summary
ACadVersion Drawing format version.
CadDocument A CAD drawing
CadObject Represents an element in a CadDocument
CadObjectCollection<T> Collection formed by managed by an owner.
CadSummaryInfo
CadSystemVariable
CollectionChangedEventArgs
Color
DwgPreview
DwgReferenceType
DxfClassMap
DxfCode
DxfFileToken
DxfMap
DxfMapBase
DxfProperty
DxfPropertyBase<T>
DxfReferenceType Type of dxf reference
DxfSubclassMarker
ExtendedData
ExtendedDataDictionary
ExtendedDataRecord
FlowDirectionType
GroupCodeValue
GroupCodeValueType Group codes define the type of the associated value as an integer, a floating-point number, or a string, according to the following table of group code ranges.
IHandledCadObject Defines a CadObject with a unique handle
INamedCadObject Defines a CadObject with a unique name
IObservableCadCollection<T> Events for an observed cad collection.
ISeqendCollection
LineSpacingStyle
LineweightType
MathUtils
MultiLeaderPathType Controls the way the leader is drawn.
ObjectType Some object types have fixed values, this enum contains the values for these objects.
OnNameChangedArgs
OrthographicType Orthographic type
RenderMode Viewport render mode
SeqendCollection<T> Represents a collection of ended by a entity.
TextAlignmentType
TextAngleType
TextAttachmentDirectionType
TextAttachmentPointType
TextAttachmentType Text attachment type, controls how the text label of a is to placed
relative to the landing point.
Transparency Represents the transparency for the graphical objects.

Classes

Name Summary
CadSystemVariableAttribute
DxfCodeValueAttribute
DxfNameAttribute Mark the class as a dxf class equivalent
DxfSubClassAttribute Mark the class as a dxf class equivalent
ICodeValueAttribute

Classes

Name Summary
Block Represents a entity
BlockEnd Represents a entity
BlockTypeFlags Block-type flags (bit-coded values, may be combined).

Classes

Name Summary
DxfClass
DxfClassCollection
ProxyFlags

Classes

Name Summary
Arc Represents a entity.
AttachmentPointType Attachment point for Multiline text.
AttributeBase Common base class for and .
AttributeDefinition Represents a entity.
AttributeEntity Represents a entity.
AttributeFlags Attribute flags.
AttributeType
BackgroundFillFlags Represents a background fill flags
BlockContentConnectionType The values of this enum indicate how the multileader connects to the content block.
BoundaryPathFlags Defines the boundary path type of the hatch.
CadImageBase Common base class for and .
Circle Represents a entity.
ClipMode Represents the clip mode.
ClipType Clipping boundary type
ColumnType Represents the type of columns.
Dimension Represents a entity.
DimensionAligned Represents a entity.
DimensionAngular2Line Represents a entity.
DimensionAngular3Pt Represents a entity.
DimensionDiameter Represents a entity.
DimensionLinear Represents a entity.
DimensionOrdinate Represents a entity.
DimensionRadius Represents a entity.
DimensionType Dimension type
DrawingDirectionType Multiline text drawing direction.
Ellipse Represents a entity.
Entity The standard class for a basic CAD entity or a graphical object.
Face3D Represents a entity.
GradientColor
Hatch Represents a entity.
HatchGradientPattern
HatchPattern
HatchPatternType Hatch pattern fill type.
HatchStyleType Hatch pattern style.
IEntity
IGeometricEntity Objects with geometric qualities in the drawing.
ImageDisplayFlags
Insert Represents a entity.
InvisibleEdgeFlags Defines which edges are hidden.
IPolyline
IText Common interface for all text entities in the drawing.
IVertex
KnotParameterization Knot parameterization
Leader Represents a entity.
LeaderCreationType Leader creation type
LeaderPathType Controls the way the leader is drawn.
LightingType Represents lighting type.
Line Represents a entity.
LineSpacingStyleType Line spacing style for Multiline text and Dimensions.
LwPolyline Represents a entity
LwPolylineFlags Polyline flag (bit-coded)
Mesh Represents a entity.
MLine Represents a entity.
MLineFlags Flags (bit-coded values)
MLineJustification Justification
MText Represents a entity.
MultiLeader Represents a entity.
MultiLeaderPropertyOverrideFlags
PdfUnderlay Represents a entity.
Point Represents a entity.
PolyfaceMesh Represents a entity.
Polyline Represents a entity.
Polyline2D Represents a entity.
Polyline3D Represents a entity.
PolylineFlags Defines the polyline flags.
RasterImage Represents a entity.
Ray Represents a entity.
Seqend Represents a entity
ShadowMode
Shape Represents a entity.
SmoothSurfaceType Curves and smooth surface type.
Solid Represents a entity.
Solid3D Represents a entity.
Spline Represents a entity.
SplineFlags Defines the spline flags
SplineFlags1 Defines the spline flags 1
TableEntity Represents a entity.
TextEntity Represents a
TextHorizontalAlignment
TextMirrorFlag
TextVerticalAlignmentType Text vertical justification.
Tolerance Represents a entity.
UnderlayDisplayFlags Underlay display options.
UnderlayEntity Common base class for all underlay entities, like .
UnknownEntity Class that holds the basic information for an unknown .
Vertex Represents a base type for Vertex entities
Vertex2D Represents a entity
Vertex3D Represents a entity
VertexFaceMesh Represents a entity
VertexFaceRecord Represents a entity
VertexFlags Defines the vertex flags.
VerticalAlignmentType Text vertical justification.
Viewport Represents a entity.
ViewportStatusFlags viewport status flags
Wipeout Represents a entity.
XLine Represents a entity.

Classes

Name Summary
CadNotSupportedException
DwgException
DxfException

Classes

Name Summary
AttributeVisibilityMode
CadHeader
DimensionAssociation Controls the associativity of dimension objects.
EntityPlotStyleType Plot style type of new objects
IndexCreationFlags Controls whether layer and spatial indexes are created and saved in drawing files
MeasurementUnits Measurement units
ObjectSnapMode Object snap mode AcDb::OsnapMask
ObjectSortingFlags Bitmask flags to set the various object sorting types.
ShadeEdgeType Edge shape type
ShadowMode Shadow mode for a 3D object
SpaceLineTypeScaling Controls paper space linetype scaling.
SplineType Spline type

Classes

Name Summary
CadReaderBase<T> Base class for the DWG and DXF readers.
CadReaderConfiguration Base configuration for all the classes.
CadWriterBase<T> Base class for the CAD writers.
CadWriterConfiguration Configuration for the class.
DwgReader Class for reading a DWG file into a .
DwgReaderConfiguration Configuration for reading DWG files.
DwgWriter Class for writing a DWG from a .
DxfReader Class for reading a DXF file into a .
DxfReaderConfiguration Configuration for reading DXF files.
DxfWriter Class for writing a DXF from a .
DxfWriterConfiguration Configuration for writing DWG files.
ICadReader Common interface for the different Cad readers.
ICadWriter
NotificationEventArgs
NotificationEventHandler
NotificationType

Classes

Name Summary
AcdbPlaceHolder Represents a object.
BlockVisibilityParameter Represents a BLOCKVISIBILITYPARAMETER object, in AutoCAD used to
control the visibility state of entities in a dynamic block.
BookColor Represents a object.
CadDictionary Represents a object.
CadDictionaryWithDefault Represents a object.
DictionaryCloningFlags Duplicate record cloning flag (determines how to merge duplicate entries).
DictionaryVariable Represents a object.
EvaluationGraph Represents an evaluation graph containing a list of
objects.
FaceColorMode
FaceLightingModelType
FaceLightingQualityType
FaceModifierType
Group Represents a object.
ImageDefinition Represents a object.
ImageDefinitionReactor Represents a object.
Layout Represents a object.
LayoutFlags Layout flags
LeaderContentType
LeaderDrawOrderType Specifies the draw order of a
in a entity.
LeaderLinePropertOverrideFlags These flags specify whether properties of a leader line primarily defined by the
object or overidden by properties of the
object are overridden for an individual leader line.
Material
MLineStyle Represents a object
MLineStyleFlags Flags (bit-coded).
MultiLeaderAnnotContext This class represents a subset ob the properties of the MLeaderAnnotContext
object, that are embedded into the MultiLeader entity.
MultiLeaderDrawOrderType Specifies the draw order of a entity.
MultiLeaderStyle Represents a object.
NonGraphicalObject The standard class for a basic CAD non-graphical object.
PaperMargin Represents the unprintable margins of a paper.
PdfUnderlayDefinition Represents a object
PlotFlags Defines the plot settings flag.
PlotPaperUnits Plot paper units
PlotRotation Plot rotation
PlotSettings Represents a object
PlotType Defines the portion of paper space to output to the media
ResolutionUnit Resolution units for images.
Scale Represents a object
ScaledType
ShadePlotMode Defines the shade plot mode
ShadePlotResolutionMode Defines the shade plot resolution mode.
SortEntitiesTable Represents a object
TableContent Represents a object.
TableStyle
UnderlayDefinition Common base class for all underlay definitions, like .
UnknownNonGraphicalObject Class that holds the basic information for an unknown .
VisualStyle Represents a object
XRecord Represents a object.

Classes

Name Summary
ColorCollection
GroupCollection
ImageDefinitionCollection
LayoutCollection
MLeaderStyleCollection
MLineStyleCollection
ObjectDictionaryCollection<T> Object collection linked to a dictionary
ScaleCollection

Classes

Name Summary
AppId Represents a entry
ArcLengthSymbolPosition Controls the arc length symbol position in an arc length dimension.
BlockRecord Represents a entry
DefaultLightingType Default lighting type
DimensionStyle Represents a table entry.
DimensionTextBackgroundFillMode Represents the dimension text background color.
DimensionTextHorizontalAlignment Controls the vertical placement of dimension text in relation to the dimension line.
DimensionTextVerticalAlignment Controls the placement of dimension text.
EntryFlags Standard entry flags (bit-coded values).
FontFlags Represent the font character formatting, such as italic, bold, or regular.
FractionFormat Represents the fraction format when the linear unit format is set to architectural or fractional.
GridFlags
Layer Represents a entry
LayerFlags Standard layer flags (bit-coded values).
LineType Represents a entry.
LinetypeShapeFlags Represents a line type complex element type.
StandardFlags Standard flags for tables
StyleFlags Standard layer flags (bit-coded values).
TableEntry
TextArrowFitType How dimension text and arrows are arranged when space is not sufficient to place both within the extension lines.
TextDirection Represents the text direction (left-to-right or right-to-left).
TextMovement Text movement rules.
TextStyle Represents a entry.
ToleranceAlignment Tolerance alignment.
UCS Represents a entry.
UscIconType Display Ucs icon
View Represents a entry.
ViewModeType
VPort Represents a table entry
ZeroHandling Represents supression of zeros in displaying decimal numbers.

Classes

Name Summary
AppIdsTable
BlockRecordsTable
DimensionStylesTable
ITable
LayersTable
LineTypesTable
Table<T>
TextStylesTable
UCSTable
ViewsTable
VPortsTable

Classes

Name Summary
AngularDirection Represents angular direction.
AngularUnitFormat Angular unit format
LinearUnitFormat Units format for decimal numbers
UnitsType

Classes

Name Summary
BoundingBox Bounding box representation aligned to XYZ axis.
BoundingBoxExtent
IVector
MathHelper
Matrix4 4x4 Matrix
Quaternion Four dimensional vector which is used to efficiently rotate an object about the (x,y,z) vector by the angle theta, where w = cos(theta/2).
Transform Contains the information for translate/scale/rotation or transform matrix to apply to a geometric shape.
VectorExtensions
XY
XYZ
XYZM

Classes

Name Summary
ILine<T>
Line2D
Line3D
LineExtensions

Classes

Name Summary
StringValueAttribute Simple attribute class for storing String Values

Classes

Name Summary
IDictionaryExtension Extensions for
Clone this wiki locally