This .NET class wraps the AcDb::DxfCode ObjectARX enum.
This enumerated type contains all the primary DXF group code values.
Ranges of DXF group codes represent certain data types. For example, the codes from 40 to 49 are floating point data values. For many of these ranges, only the first code has an enumerated type name.
To use one of the code values that is not in the enumerated type, you will need to add an integer to the enumerated type value name. For example, to use DXF group code 41, in your code you would use (DxfReal+1).
This enumerated type also contains names that have the same integer value. For example, ShapeName and BlockName both have an integer value of 2. This duplication occurs because within AutoCAD the same code value (the integer value) may have different meanings for different contexts. So, each context has a different name in the enumerated type.
Public Enum DxfCode Alpha = 440 Angle = 50 ArbitraryHandle = 320 AttributePrompt = 3 AttributeTag = 2 BinaryChunk = 310 BlockName = 2 Bool = 290 CircleSides = &H48 CLShapeName = 4 CLShapeText = 9 Color = &H3e ColorName = 430 ColorRgb = 420 Comment = &H3e7 ControlString = &H66 DashLength = &H31 Description = 3 DimBlk1 = 6 DimBlk2 = 7 DimensionAlternativePrefixSuffix = 4 DimensionBlock = 5 DimPostString = 3 DimStyleName = 3 DimVarHandle = &H69 Elevation = &H26 EmbeddedObjectStart = &H65 End = -1 ExtendedDataAsciiString = &H3e8 ExtendedDataBinaryChunk = &H3ec ExtendedDataControlString = &H3ea ExtendedDataDist = &H411 ExtendedDataHandle = &H3ed ExtendedDataInteger16 = &H42e ExtendedDataInteger32 = &H42f ExtendedDataLayerName = &H3eb ExtendedDataReal = &H410 ExtendedDataRegAppName = &H3e9 ExtendedDataScale = &H412 ExtendedDataWorldXCoordinate = &H3f3 ExtendedDataWorldXDir = &H3f5 ExtendedDataWorldXDisp = &H3f4 ExtendedDataWorldYCoordinate = &H3fd ExtendedDataWorldYDir = &H3ff ExtendedDataWorldYDisp = &H3fe ExtendedDataWorldZCoordinate = &H407 ExtendedDataWorldZDir = &H409 ExtendedDataWorldZDisp = &H408 ExtendedDataXCoordinate = &H3f2 ExtendedDataYCoordinate = &H3fc ExtendedDataZCoordinate = &H406 ExtendedInt16 = 400 FirstEntityId = -2 GradientAngle = 460 GradientColCount = &H1c5 GradientColVal = &H1cf GradientName = 470 GradientObjType = 450 GradientPatType = &H1c3 GradientShift = &H1cd GradientTintType = &H1c4 GradientTintVal = &H1ce Handle = 5 HardOwnershipId = 360 HardPointerId = 340 HasSubentities = &H42 HeaderId = -2 Int16 = 70 Int32 = 90 Int64 = 160 Int8 = 280 Invalid = -9999 LayerLinetype = &H3d LayerName = 8 LayoutName = 410 LinetypeAlign = &H48 LinetypeElement = &H31 LinetypeName = 6 LinetypePdc = &H49 LinetypeProse = 3 LinetypeScale = &H30 LineWeight = 370 MlineOffset = &H31 MlineStyleName = 2 NormalX = 210 NormalY = 220 NormalZ = 230 Operator = -4 PixelScale = &H2f PlotStyleNameId = 390 PlotStyleNameType = 380 PReactors = -5 Real = 40 RegAppFlags = &H47 RenderMode = &H119 ShapeName = 2 ShapeScale = &H2e ShapeXOffset = &H2c ShapeYOffset = &H2d SoftOwnershipId = 350 SoftPointerId = 330 Start = 0 Subclass = 100 SymbolTableName = 2 SymbolTableRecordComments = 4 SymbolTableRecordName = 2 Text = 1 TextBigFontFile = 4 TextFontFile = 3 TextStyleName = 7 Thickness = &H27 TxtSize = 40 TxtStyleFlags = &H47 TxtStylePSize = &H2a TxtStyleXScale = &H29 UcsOrg = 110 UcsOrientationX = &H6f UcsOrientationY = &H70 ViewBackClip = &H2c ViewBrightness = &H8d ViewContrast = &H8e ViewFrontClip = &H2b ViewHeight = &H2d ViewLensLength = &H2a ViewMode = &H47 ViewportActive = &H44 ViewportAspect = &H29 ViewportGrid = &H4c ViewportHeight = 40 ViewportIcon = &H4a ViewportNumber = &H45 ViewportSnap = &H4b ViewportSnapAngle = 50 ViewportSnapPair = &H4e ViewportSnapStyle = &H4d ViewportTwist = &H33 ViewportVisibility = &H43 ViewportZoom = &H49 ViewWidth = &H29 Visibility = 60 XCoordinate = 10 XDataStart = -3 XDictionary = -6 XInt16 = 170 XReal = 140 XRefPath = 1 XTextString = 300 XXInt16 = 270 YCoordinate = 20 ZCoordinate = 30 End Enum
public enum DxfCode { Alpha = 440, Angle = 50, ArbitraryHandle = 320, AttributePrompt = 3, AttributeTag = 2, BinaryChunk = 310, BlockName = 2, Bool = 290, CircleSides = 0x48, CLShapeName = 4, CLShapeText = 9, Color = 0x3e, ColorName = 430, ColorRgb = 420, Comment = 0x3e7, ControlString = 0x66, DashLength = 0x31, Description = 3, DimBlk1 = 6, DimBlk2 = 7, DimensionAlternativePrefixSuffix = 4, DimensionBlock = 5, DimPostString = 3, DimStyleName = 3, DimVarHandle = 0x69, Elevation = 0x26, EmbeddedObjectStart = 0x65, End = -1, ExtendedDataAsciiString = 0x3e8, ExtendedDataBinaryChunk = 0x3ec, ExtendedDataControlString = 0x3ea, ExtendedDataDist = 0x411, ExtendedDataHandle = 0x3ed, ExtendedDataInteger16 = 0x42e, ExtendedDataInteger32 = 0x42f, ExtendedDataLayerName = 0x3eb, ExtendedDataReal = 0x410, ExtendedDataRegAppName = 0x3e9, ExtendedDataScale = 0x412, ExtendedDataWorldXCoordinate = 0x3f3, ExtendedDataWorldXDir = 0x3f5, ExtendedDataWorldXDisp = 0x3f4, ExtendedDataWorldYCoordinate = 0x3fd, ExtendedDataWorldYDir = 0x3ff, ExtendedDataWorldYDisp = 0x3fe, ExtendedDataWorldZCoordinate = 0x407, ExtendedDataWorldZDir = 0x409, ExtendedDataWorldZDisp = 0x408, ExtendedDataXCoordinate = 0x3f2, ExtendedDataYCoordinate = 0x3fc, ExtendedDataZCoordinate = 0x406, ExtendedInt16 = 400, FirstEntityId = -2, GradientAngle = 460, GradientColCount = 0x1c5, GradientColVal = 0x1cf, GradientName = 470, GradientObjType = 450, GradientPatType = 0x1c3, GradientShift = 0x1cd, GradientTintType = 0x1c4, GradientTintVal = 0x1ce, Handle = 5, HardOwnershipId = 360, HardPointerId = 340, HasSubentities = 0x42, HeaderId = -2, Int16 = 70, Int32 = 90, Int64 = 160, Int8 = 280, Invalid = -9999, LayerLinetype = 0x3d, LayerName = 8, LayoutName = 410, LinetypeAlign = 0x48, LinetypeElement = 0x31, LinetypeName = 6, LinetypePdc = 0x49, LinetypeProse = 3, LinetypeScale = 0x30, LineWeight = 370, MlineOffset = 0x31, MlineStyleName = 2, NormalX = 210, NormalY = 220, NormalZ = 230, Operator = -4, PixelScale = 0x2f, PlotStyleNameId = 390, PlotStyleNameType = 380, PReactors = -5, Real = 40, RegAppFlags = 0x47, RenderMode = 0x119, ShapeName = 2, ShapeScale = 0x2e, ShapeXOffset = 0x2c, ShapeYOffset = 0x2d, SoftOwnershipId = 350, SoftPointerId = 330, Start = 0, Subclass = 100, SymbolTableName = 2, SymbolTableRecordComments = 4, SymbolTableRecordName = 2, Text = 1, TextBigFontFile = 4, TextFontFile = 3, TextStyleName = 7, Thickness = 0x27, TxtSize = 40, TxtStyleFlags = 0x47, TxtStylePSize = 0x2a, TxtStyleXScale = 0x29, UcsOrg = 110, UcsOrientationX = 0x6f, UcsOrientationY = 0x70, ViewBackClip = 0x2c, ViewBrightness = 0x8d, ViewContrast = 0x8e, ViewFrontClip = 0x2b, ViewHeight = 0x2d, ViewLensLength = 0x2a, ViewMode = 0x47, ViewportActive = 0x44, ViewportAspect = 0x29, ViewportGrid = 0x4c, ViewportHeight = 40, ViewportIcon = 0x4a, ViewportNumber = 0x45, ViewportSnap = 0x4b, ViewportSnapAngle = 50, ViewportSnapPair = 0x4e, ViewportSnapStyle = 0x4d, ViewportTwist = 0x33, ViewportVisibility = 0x43, ViewportZoom = 0x49, ViewWidth = 0x29, Visibility = 60, XCoordinate = 10, XDataStart = -3, XDictionary = -6, XInt16 = 170, XReal = 140, XRefPath = 1, XTextString = 300, XXInt16 = 270, YCoordinate = 20, ZCoordinate = 30 }
Members |
Description |
Alpha = 440 |
Base entity property; Alpha is an integer |
ColorName = 430 |
Extended color information for base entities |
ColorRgb = 420 |
Extended color information for base entities |
ExtendedDataInteger16 = 0x42e |
|
ExtendedDataWorldYCoordinate = 0x3fd |
|
FirstEntityId = -2 |
|
MlineStyleName = 2 |
|
SymbolTableRecordComments = 4 |
|
SymbolTableRecordName = 2 |
|
UcsOrg = 110 |
|
UcsOrientationX = 0x6f |
|
UcsOrientationY = 0x70 |
|
ViewportSnapAngle = 50 |
Deprecated. |
XCoordinate = 10 |
|
XDataStart = -3 |
|
XDictionary = -6 |
|
YCoordinate = 20 |
|
ZCoordinate = 30 |
|
Comments? |