Module @mlightcad/data-model - v1.14.4

@mlightcad/data-model

License: MIT npm version

The data-model package provides the core classes for interacting with AutoCAD's database and entities. This package mimics AutoCAD ObjectARX's AcDb (Database) classes and implements the drawing database structure that AutoCAD developers are familiar with.

This package contains the core classes for defining and manipulating AutoCAD entities (e.g., lines, circles, blocks), handling entity attributes and geometric data, and storing and retrieving data from the drawing database. It uses the same drawing database structure as AutoCAD ObjectARX, making it easier for AutoCAD developers to build applications based on this SDK.

  • Database Management: Complete AutoCAD database structure with tables and records
  • Entity Support: All major AutoCAD entity types (lines, circles, polylines, blocks, etc.)
  • File Conversion: Built-in MIT DXF converter (AcDbNativeDxfConverter, registered by default); extensible converter registration for DWG and alternate DXF readers
  • Symbol Tables: Layer, linetype, text style, and dimension style management
  • Block Management: Block table and block reference handling
  • Dimension Support: Comprehensive dimension entity types
  • Layout Management: Paper space and model space layout handling
npm install @mlightcad/data-model
  • AcDbDatabase: Main database class that contains all drawing data
  • AcDbObject: Base class for all database-resident objects
  • AcDbHostApplicationServices: Services provided by the host application
  • AcDbSymbolTable: Base class for symbol tables
  • AcDbSymbolTableRecord: Base class for symbol table records
  • AcDbLayerTable, AcDbLayerTableRecord: Layer management
  • AcDbLinetypeTable, AcDbLinetypeTableRecord: Linetype management
  • AcDbTextStyleTable, AcDbTextStyleTableRecord: Text style management
  • AcDbDimStyleTable, AcDbDimStyleTableRecord: Dimension style management
  • AcDbBlockTable, AcDbBlockTableRecord: Block management
  • AcDbViewportTable, AcDbViewportTableRecord: Viewport management
  • AcDbEntity: Base class for all drawable objects
  • AcDbLine: Line entity
  • AcDbCircle: Circle entity
  • AcDbArc: Arc entity
  • AcDbPolyline: Polyline entity
  • AcDbText, AcDbMText: Text and multiline text entities
  • AcDbBlockReference: Block reference entity
  • AcDbPoint: Point entity
  • AcDbEllipse: Ellipse entity
  • AcDbSpline: Spline curve entity
  • AcDbHatch: Hatch pattern entity
  • AcDbTable: Table entity
  • AcDbRasterImage: Raster image entity
  • AcDbLeader: Leader entity
  • AcDbRay, AcDbXline: Construction line entities
  • AcDbTrace, AcDbWipeout: Filled area entities
  • AcDbDimension: Base class for dimension entities
  • AcDbAlignedDimension: Aligned dimension
  • AcDbRadialDimension: Radial dimension
  • AcDbDiametricDimension: Diametric dimension
  • AcDb3PointAngularDimension: 3-point angular dimension
  • AcDbArcDimension: Arc dimension
  • AcDbOrdinateDimension: Ordinate dimension
  • AcDbDictionary: Dictionary object for storing key-value pairs
  • AcDbRasterImageDef: Raster image definition
  • AcDbLayout: Layout object for paper space
  • AcDbLayoutDictionary: Layout dictionary management
  • AcDbLayoutManager: Layout manager for switching between layouts
  • AcDbDatabaseConverter: Base class for file format converters
  • AcDbDatabaseConverterManager: Manages registered file converters
  • AcDbBatchProcessing: Batch processing utilities
  • AcDbBaseWorker, acdbCreateWorkerApi: Web Worker infrastructure for parsers

DXF import is built in via AcDbNativeDxfConverter (registered by default). An optional GPL alternative is @mlightcad/dxf-json-converter. DWG import is provided by converter packages such as @mlightcad/libredwg-converter; register a DWG converter with AcDbDatabaseConverterManager before calling AcDbDatabase.read() on DWG files.

  • AcDbConstants: Database constants
  • AcDbObjectIterator: Iterator for database objects
  • AcDbAngleUnits: Angle unit utilities
  • AcDbUnitsValue: Unit value handling
  • AcDbOsnapMode: Object snap modes
  • AcDbRenderingCache: Rendering cache management
import { AcDbDatabase } from '@mlightcad/data-model';

// Create a new database
const database = new AcDbDatabase();

// Get symbol tables
const layerTable = database.getLayerTable();
const blockTable = database.getBlockTable();
const linetypeTable = database.getLinetypeTable();
import { AcDbLine, AcDbCircle, AcGePoint3d } from '@mlightcad/data-model';

// Create a line entity
const startPoint = new AcGePoint3d(0, 0, 0);
const endPoint = new AcGePoint3d(10, 10, 0);
const line = new AcDbLine(startPoint, endPoint);

// Create a circle entity
const center = new AcGePoint3d(0, 0, 0);
const radius = 5;
const circle = new AcDbCircle(center, radius);

// Set entity properties
line.setColor(1); // Red
line.setLayer('0');
circle.setLinetype('CONTINUOUS');
import { AcDbLayerTableRecord } from '@mlightcad/data-model';

// Create a new layer
const layerRecord = new AcDbLayerTableRecord();
layerRecord.setName('MyLayer');
layerRecord.setColor(2); // Yellow
layerRecord.setLinetype('DASHED');

// Add layer to database
const layerTable = database.getLayerTable();
layerTable.add(layerRecord);
import { AcDbBlockReference, AcGePoint3d } from '@mlightcad/data-model';

// Create a block reference
const insertionPoint = new AcGePoint3d(0, 0, 0);
const blockRef = new AcDbBlockReference(insertionPoint, 'MyBlock');

// Set block properties
blockRef.setScale(2.0);
blockRef.setRotation(Math.PI / 4);

// Add to model space
const modelSpace = database.getModelSpace();
modelSpace.appendEntity(blockRef);

DXF support is registered by default via AcDbNativeDxfConverter (MIT, main-thread streaming). You only need to register a converter when you want a different DXF implementation or when reading DWG files.

import {
AcDbDatabase,
AcDbDatabaseConverterManager,
AcDbFileType,
acdbHostApplicationServices,
AcDbOpenDatabaseOptions
} from '@mlightcad/data-model'
import { AcDbLibreDwgConverter } from '@mlightcad/libredwg-converter'

// Optional: replace the default native DXF converter (e.g. GPL worker-based parser)
// import { AcDbDxfConverter } from '@mlightcad/dxf-json-converter'
// AcDbDatabaseConverterManager.instance.register(
// AcDbFileType.DXF,
// new AcDbDxfConverter({
// useWorker: true,
// parserWorkerUrl: './assets/dxf-parser-worker.js'
// })
// )

// DWG still requires an explicit converter registration
AcDbDatabaseConverterManager.instance.register(
AcDbFileType.DWG,
new AcDbLibreDwgConverter({
useWorker: true,
parserWorkerUrl: './assets/libredwg-parser-worker.js'
})
)

// Read a file into the database
const database = new AcDbDatabase()
acdbHostApplicationServices().workingDatabase = database
const buffer = await file.arrayBuffer()
await database.read(buffer, { readOnly: true }, AcDbFileType.DXF)

Fonts referenced by text entities are loaded on demand by the mtext renderer when a font is first needed. Viewers such as @mlightcad/cad-simple-viewer typically resolve font metadata from mlightcad/cad-data (default CDN: https://cdn.jsdelivr.net/gh/mlightcad/cad-data@main/).

To self-host fonts and templates (directory layout, fonts.json, CORS, and baseUrl configuration), see the Self Hosted Fonts and Templates guide in the cad-viewer wiki.

import { AcDbAlignedDimension, AcGePoint3d } from '@mlightcad/data-model';

// Create an aligned dimension
const defPoint1 = new AcGePoint3d(0, 0, 0);
const defPoint2 = new AcGePoint3d(10, 0, 0);
const textPosition = new AcGePoint3d(5, 5, 0);

const dimension = new AcDbAlignedDimension(defPoint1, defPoint2, textPosition);
dimension.setDimensionText('10.0');
dimension.setDimensionStyle('Standard');
import { AcDbLayoutManager } from '@mlightcad/data-model';

// Get layout manager
const layoutManager = database.getLayoutManager();

// Get current layout
const currentLayout = layoutManager.getCurrentLayout();

// Switch to model space
layoutManager.setCurrentLayout('Model');

// Create a new layout
const newLayout = layoutManager.createLayout('MyLayout');
newLayout.setPlotType('Extents');
newLayout.setPlotCentered(true);
  • @mlightcad/common: For common utilities (peer dependency)
  • @mlightcad/geometry-engine: For geometric operations (peer dependency)
  • @mlightcad/graphic-interface: For graphics interface (peer dependency)
  • iconv-lite: For text encoding conversion
  • uid: For unique ID generation

DXF reading works out of the box. For DWG, install a converter such as @mlightcad/libredwg-converter. An optional GPL DXF alternative is @mlightcad/dxf-json-converter.

For detailed API documentation, visit the RealDWG-Web documentation.

This package is part of the RealDWG-Web monorepo. Please refer to the main project README for contribution guidelines.

Enumerations

AcCmColorMethod
AcCmTransparencyMethod
AcDb2dVertexType
AcDb3dVertexType
AcDbAngleUnits
AcDbAttributeFlags
AcDbAttributeMTextFlag
AcDbBlockScaling
AcDbBlockTableRecordFlag
AcDbCodePage
AcDbDimArrowType
AcDbDimTextHorizontal
AcDbDimTextVertical
AcDbDimVerticalJustification
AcDbDimZeroSuppression
AcDbDimZeroSuppressionAngular
AcDbDuplicateRecordCloning
AcDbDxfCode
AcDbDxfFilerStatus
AcDbFileType
AcDbGradientPatternType
AcDbHatchObjectType
AcDbHatchPatternType
AcDbHatchStyle
AcDbIntersect
AcDbLeaderAnnotationType
AcDbLinearUnits
AcDbLineSpacingStyle
AcDbMLeaderContentType
AcDbMLeaderDirectionType
AcDbMLeaderLineType
AcDbMLeaderTextAttachmentDirection
AcDbMLineFlags
AcDbMLineJustification
AcDbOleObjectType
AcDbOleTileMode
AcDbOpenMode
AcDbOsnapMode
AcDbPlotPaperUnits
AcDbPlotRotation
AcDbPlotShadePlotResLevel
AcDbPlotShadePlotType
AcDbPlotStdScaleType
AcDbPlotType
AcDbPoly2dType
AcDbPoly3dType
AcDbProxyGraphicType
AcDbRasterImageClipBoundaryType
AcDbRasterImageImageDisplayOpt
AcDbTextHorizontalMode
AcDbTextVerticalMode
AcDbUnitsValue
AcGiArrowType
AcGiDefaultLightingType
AcGiLineWeight
AcGiMTextAttachmentPoint
AcGiMTextFlowDirection
AcGiOrthographicType
AcGiRenderMode
AcLyLayerFilterDialogResult

Classes

AcCmColor
AcCmColorUtil
AcCmEntityColor
AcCmEventDispatcher
AcCmEventManager
AcCmLoader
AcCmLoadingManager
AcCmObject
AcCmPerformanceCollector
AcCmTask
AcCmTaskScheduler
AcCmTransparency
AcCmUiYieldGate
AcDb2dPolyline
AcDb2dVertex
AcDb3dPolyline
AcDb3dSolid
AcDb3dVertex
AcDb3PointAngularDimension
AcDbAbstractViewTableRecord
AcDbAlignedDimension
AcDbArc
AcDbArcDimension
AcDbAttribute
AcDbAttributeDefinition
AcDbBaseWorker
AcDbBatchProcessing
AcDbBlockReference
AcDbBlockTable
AcDbBlockTableRecord
AcDbChangeApplier
AcDbChangeRecorder
AcDbCircle
AcDbCurve
AcDbDatabase
AcDbDatabaseConverter
AcDbDatabaseConverterManager
AcDbDatabaseTransaction
AcDbDatabaseTransactionManager
AcDbDataGenerator
AcDbDiametricDimension
AcDbDictionary
AcDbDimension
AcDbDimStyleTable
AcDbDimStyleTableRecord
AcDbDwgVersion
AcDbDxfDocumentReader
AcDbDxfFiler
AcDbDxfObjectsReader
AcDbEllipse
AcDbEntity
AcDbFace
AcDbFcf
AcDbFilter
AcDbFormatter
AcDbFrame
AcDbGroup
AcDbHatch
AcDbHostApplicationServices
AcDbIndex
AcDbLayerFilter
AcDbLayerIndex
AcDbLayerTable
AcDbLayerTableRecord
AcDbLayout
AcDbLayoutDictionary
AcDbLayoutManager
AcDbLeader
AcDbLine
AcDbLinetypeTable
AcDbLinetypeTableRecord
AcDbMLeader
AcDbMLeaderStyle
AcDbMLine
AcDbMlineStyle
AcDbMText
AcDbNativeDxfConverter
AcDbObject
AcDbObjectIterator
AcDbOle2Frame
AcDbOleFrame
AcDbOpenDatabaseError
AcDbOrdinateDimension
AcDbPatParser
AcDbPatSvgRenderer
AcDbPlotSettings
AcDbPoint
AcDbPolyFaceMesh
AcDbPolyFaceMeshFace
AcDbPolyFaceMeshVertex
AcDbPolygonMesh
AcDbPolygonMeshVertex
AcDbPolyline
AcDbProxyEntity
AcDbProxyGraphic
AcDbProxyGraphicBitStream
AcDbProxyGraphicByteStream
AcDbProxyGraphicEndOfBufferError
AcDbRadialDimension
AcDbRasterImage
AcDbRasterImageDef
AcDbRay
AcDbRegAppTable
AcDbRegAppTableRecord
AcDbRegenerator
AcDbResultBuffer
AcDbRotatedDimension
AcDbShape
AcDbSolid
AcDbSortentsTable
AcDbSpline
AcDbSymbolTable
AcDbSymbolTableRecord
AcDbSysVarManager
AcDbTable
AcDbText
AcDbTextStyleTable
AcDbTextStyleTableRecord
AcDbTrace
AcDbTransaction
AcDbTransactionManager
AcDbUcsTable
AcDbUcsTableRecord
AcDbUndoStack
AcDbViewport
AcDbViewportTable
AcDbViewportTableRecord
AcDbViewTable
AcDbViewTableRecord
AcDbWipeout
AcDbWorkerApi
AcDbWorkerManager
AcDbXline
AcDbXrecord
AcGeArea2d
AcGeBox2d
AcGeBox3d
AcGeCatmullRomCurve3d
AcGeCircArc2d
AcGeCircArc3d
AcGeCurve2d
AcGeEllipseArc2d
AcGeEllipseArc3d
AcGeEuler
AcGeLine2d
AcGeLine3d
AcGeLoop2d
AcGeMatrix2d
AcGeMatrix3d
AcGeNurbsCurve
AcGePlane
AcGePoint2d
AcGePoint3d
AcGePolyline2d
AcGeQuaternion
AcGeShape2d
AcGeSpline3d
AcGeTol
AcGeVector2d
AcGeVector3d
AcGiContext
AcGiViewport
AcLyBoolExpr
AcLyLayerFilter
AcLyLayerFilterTree
AcLyLayerGroup
AcTrStringUtil

Interfaces

AcCmBaseEvent
AcCmEvent
AcCmObjectAttributeChangedEventArgs
AcCmObjectChangedEventArgs
AcCmObjectOptions
AcCmPerformanceEntry
AcCmTaskError
AcDbAbstractViewTableRecordAttrs
AcDbBlockTableRecordAttrs
AcDbClass
AcDbConvertDatabasePerformanceData
AcDbCreateDefaultDataOptions
AcDbDatabaseConverterConfig
AcDbDatabaseConverterManagerEventArgs
AcDbDatabaseConverterReadOptions
AcDbDictObjectEventArgs
AcDbDimStyleTableRecordAttrs
AcDbDwgVersionEntry
AcDbDxfFilerOptions
AcDbDxfHeaderInfo
AcDbDxfPairReader
AcDbEntityArrayItemSchema
AcDbEntityEventArgs
AcDbEntityProperties
AcDbEntityProperty
AcDbEntityPropertyGroup
AcDbEntityRuntimeProperty
AcDbFormatterOptions
AcDbLayerEventArgs
AcDbLayerFilterGroup
AcDbLayerFilterPersistSource
AcDbLayerIndexEntry
AcDbLayerModifiedEventArgs
AcDbLayerTableRecordAttrs
AcDbLayoutEventArgs
AcDbLayoutRenamedEventArgs
AcDbLinetypePreviewSvgOptions
AcDbLinetypeTableRecordAttrs
AcDbMemoryEstimate
AcDbMemoryEstimateBucket
AcDbMemoryEstimateOptions
AcDbMLeaderBlockAttribute
AcDbMLeaderBlockContent
AcDbMLeaderBlockContentLike
AcDbMLeaderBreak
AcDbMLeaderBreakLike
AcDbMLeaderIndexedHandle
AcDbMLeaderLeader
AcDbMLeaderLeaderLike
AcDbMLeaderLine
AcDbMLeaderLineLike
AcDbMLeaderMTextContent
AcDbMLeaderMTextContentLike
AcDbMLineElement
AcDbMLineElementLike
AcDbMLineSegment
AcDbMLineSegmentLike
AcDbMlineStyleElement
AcDbObjectAttrs
AcDbOle2FrameGeometryHeader
AcDbOleMetafileRasterizeOptions
AcDbOleRectangle3d
AcDbOpenDatabaseOptions
AcDbOpenFailedEventArgs
AcDbParsedFilterXRecord
AcDbParsingTaskResult
AcDbParsingTaskStats
AcDbPatDocument
AcDbPatGradientPreviewOptions
AcDbPatLine
AcDbPatParseIssue
AcDbPatPattern
AcDbPatPreviewOptions
AcDbPersistDictionary
AcDbPersistXRecord
AcDbPlotPaperMargins
AcDbPlotScale
AcDbProgressdEventArgs
AcDbPropertyAccessor
AcDbSerializedFilterNode
AcDbSerializedFilterTree
AcDbSymbolTableRecordAttrs
AcDbSysVarDescriptor
AcDbSysVarEventArgs
AcDbTableBorderColors
AcDbTableCell
AcDbTableCellTypeOverride
AcDbTables
AcDbTextStyleTableRecordAttrs
AcDbTypedValue
AcDbUcsTableRecordAttrs
AcDbUndoRecord
AcDbViewportTableRecordAttrs
AcDbViewTableRecordAttrs
AcDbWorkerConfig
AcDbWorkerInstance
AcDbWorkerMessage
AcDbWorkerResponse
AcDbWorkerResult
AcGeCircumcircle2d
AcGeCircumcircle3d
AcGeIndexNode
AcGePolyline2dVertex
AcGeResolvedTessellateOptions
AcGeTessellateOptions
AcGeVector2dLike
AcGeVector3dLike
AcGiArrowStyle
AcGiBaseLineStyle
AcGiEntity
AcGiHatchGradientStyle
AcGiHatchPatternLine
AcGiHatchStyle
AcGiImageStyle
AcGiLineStyle
AcGiLineTypePatternElement
AcGiMTextData
AcGiPointStyle
AcGiRenderer
AcGiShapeData
AcGiSubEntityTraits
AcGiTextStyle
AcGiView

Type Aliases

AcCmAttributes
AcCmCompleteCallback
AcCmEventListener
AcCmLoaderProgressCallback
AcCmOnErrorCallback
AcCmOnLoadCallback
AcCmOnProgressCallback
AcCmOnStartCallback
AcCmStringKey
AcCmUrlModifier
AcDbBlockChangeIterator
AcDbChangeContainer
AcDbColorTheme
AcDbConversionProgressCallback
AcDbConversionStage
AcDbConverterType
AcDbDatabaseChange
AcDbDxfFilerMode
AcDbDxfMTextContentChunk
AcDbDxfOutputFormat
AcDbDxfPair
AcDbDxfValueType
AcDbEntityPropertyGroupName
AcDbEntityPropertyType
AcDbFilteredBlockIterator
AcDbGradientName
AcDbIndexUpdateData
AcDbObjectId
AcDbOpenDatabaseErrorCode
AcDbOpenFileStage
AcDbPatGradientColor
AcDbRegAppTableRecordAttrs
AcDbStageStatus
AcDbSystemVariableName
AcDbSysVarType
AcDbSysVarTypeName
AcDbWorkerErrorCode
AcGeBoundaryEdgeType
AcGeKnotParameterizationType
AcGeLoop2dType
AcGePoint
AcGePoint2dLike
AcGePoint3dLike
AcGePointLike
AcGeVector
AcGeVectorLike
AcGiFontMapping
AcGiStyleType
AcLyLayerId
CatmullRomCurveType

Variables

AC_DB_SYSTEM_VARIABLE_NAMES
ACAD_APPID
ACAD_LAYERFILTERS_NAME
ACCM_DEFAULT_UI_YIELD_BUDGET_MS
AcCmErrors
ACDB_COMPAREHATCH_DEFAULT
ACDB_COMPAREHATCH_MAX
ACDB_COMPAREHATCH_MIN
ACDB_COMPAREPROPS_COLOR
ACDB_COMPAREPROPS_DEFAULT
ACDB_COMPAREPROPS_LAYER
ACDB_COMPAREPROPS_LINETYPE
ACDB_COMPAREPROPS_LINETYPESCALE
ACDB_COMPAREPROPS_LINEWEIGHT
ACDB_COMPAREPROPS_MAX
ACDB_COMPAREPROPS_MIN
ACDB_COMPAREPROPS_THICKNESS
ACDB_COMPAREPROPS_TRANSPARENCY
ACDB_COMPARERCMARGIN_DEFAULT
ACDB_COMPARERCMARGIN_MAX
ACDB_COMPARERCMARGIN_MIN
ACDB_COMPARETEXT_DEFAULT
ACDB_COMPARETEXT_MAX
ACDB_COMPARETEXT_MIN
ACDB_COMPARETOLERANCE_DEFAULT
ACDB_COMPARETOLERANCE_MAX
ACDB_COMPARETOLERANCE_MIN
ACDB_DRAW_CIRCLE_SIDES_DRAFT
ACDB_DRAW_CIRCLE_SIDES_HIGH
ACDB_DRAW_CIRCLE_SIDES_STANDARD
ACDB_DXF_MTEXT_CHUNK_CHARS
ACDB_DXF_XDATA_BINARY_MAX_BYTES
ACDB_DXF_XDATA_STRING_MAX_BYTES
ACDB_GRIPCOLOR_DEFAULT
ACDB_GRIPCOLOR_MAX
ACDB_GRIPCOLOR_MIN
ACDB_GRIPHOT_DEFAULT
ACDB_GRIPHOT_MAX
ACDB_GRIPHOT_MIN
ACDB_GRIPOBJLIMIT_MAX
ACDB_GRIPOBJLIMIT_MIN
ACDB_GRIPS_MAX
ACDB_GRIPS_MIN
ACDB_GRIPSIZE_DEFAULT
ACDB_GRIPSIZE_MAX
ACDB_GRIPSIZE_MIN
ACDB_OLE_METAFILE_EMF_MIME
ACDB_OLE_METAFILE_WMF_MIME
ACDB_OLE2FRAME_GEOMETRY_HEADER_SIZE
ACDB_PROXY_GRAPHIC_CHUNK_SIZE
AcDbPredefinedAcadIsoPat
AcDbPredefinedAcadPat
AcDbSystemVariables
AcGeGeometryUtil
AcGeMathUtil
ACGI_DARK_THEME_FOREGROUND
ACGI_LIGHT_THEME_FOREGROUND
ACGI_MODEL_SPACE_BACKGROUND
ACGI_PAPER_SPACE_BACKGROUND
ACLY_DICTIONARY_NAME
ACTIVE_VPORT_NAME
ByBlock
ByLayer
DEBUG_MODE
DEFAULT_ACGI_CONTEXT
DEFAULT_GRADIENT_HATCH_NAME
DEFAULT_HATCH_PATTERN_IMPERIAL
DEFAULT_HATCH_PATTERN_METRIC
DEFAULT_LINE_TYPE
DEFAULT_MLEADER_STYLE
DEFAULT_MLINE_STYLE
DEFAULT_TEXT_STYLE
DEFAULT_TOL
DefaultLoadingManager
DEG2RAD
FLOAT_TOL
HATCH_PATTERN_SOLID
HATCH_PATTERN_USER
log
MLIGHTCAD_APPID
ORIGIN_POINT_2D
ORIGIN_POINT_3D
RAD2DEG
RAW_COLOR_TYPE_ACI
RAW_COLOR_TYPE_BY_BLOCK
RAW_COLOR_TYPE_BY_LAYER
RAW_COLOR_TYPE_RGB
RAW_COLOR_TYPE_WINDOW_BG
TAU
TEMP_OBJECT_ID_PREFIX
VPORT_FALLBACK_CENTER_2D
VPORT_FALLBACK_LLC
VPORT_FALLBACK_URC
VPORT_FALLBACK_VIEW_DIR
VPORT_FALLBACK_VIEW_TARGET

Functions

accmYieldForPaint
accmYieldToUi
acdbAssignWorkingDatabase
acdbChunkBinaryByMaxBytes
acdbChunkDxfMTextContents
acdbChunkUtf8ByMaxBytes
acdbCoerceIntegerSysVar
acdbCollectChangeEntities
acdbCreateDxfPairReader
acdbCreateEntityForDxfIn
acdbCreateWorkerApi
acdbDecodeMLeaderStyleRawColor
acdbDrawCircleSides
acdbDrawTessellateOptions
acdbDwgCodePageToEncoding
acdbDxfInEntity
acdbDxfInHeader
acdbDxfValueType
acdbEstimateDatabaseMemory
acdbExtractOleImageBlob
acdbFormatMemoryEstimate
acdbGetWorkingDatabase
acdbHasOsnapMode
acdbHexStringsToBytes
acdbHostApplicationServices
acdbIntegerSysVarIfInRange
acdbIsBinaryDxf
acdbIsOleMetafileMimeType
acdbLayerGroupsToResultBuffer
acdbLooksLikeEmf
acdbLooksLikeWmf
acdbMakeAsciiDxfPairReader
acdbMakeBinaryDxfPairReader
acdbMakeUtf8AsciiDxfPairReader
acdbMaskToOsnapModes
acdbOleBlobNeedsMetafileRasterization
acdbOsnapModesToMask
acdbParseFilterXRecordData
acdbParseOle2FrameGeometryHeader
acdbPeekDxfHeaderInfo
acdbPreviewIconToDataUrl
acdbRasterizeOleMetafile
acdbReadLayerFilterTree
acdbReassembleEmfFromWmfEscapes
acdbResolveCircleSides
acdbResultBufferToLayerGroups
acdbSerializeLayerFilterTree
acdbSetHostApplicationServicesProvider
acdbSetLayoutManagerFactory
acdbThumbnailImageToDataUrl
acdbToggleOsnapMode
acdbWriteFilterXRecordData
acgeBasisFunction
acgeCalculateCurveLength
acgeCeilPowerOfTwo
acgeClamp
acgeComputeParameterValues
acgeDamp
acgeDegToRad
acgeEuclideanModulo
acgeEvaluateNurbsPoint
acgeFloorPowerOfTwo
acgeGenerateAveragedKnots
acgeGenerateChordKnots
acgeGenerateSqrtChordKnots
acgeGenerateUniformKnots
acgeGenerateUUID
acgeGetOcsAngle
acgeGetOcsReferenceVector
acgeInterpolateControlPoints
acgeInterpolateNurbsCurve
acgeIntPartLength
acgeInverseLerp
acgeIsAngleOnCcwSweep
acgeIsBetterDistanceAlign
acgeIsBetween
acgeIsBetweenAngle
acgeIsPowerOfTwo
acgeLerp
acgeMapLinear
acgeNormalizeAngle
acgePingpong
acgePointLiesOnCircle2d
acgeRadToDeg
acgeRandFloat
acgeRandFloatSpread
acgeRandInt
acgeRelativeEps
acgeSameCircle2d
acgeSeededRandom
acgeSmootherstep
acgeSmoothstep
acgeTransformOcsPointToWcs
acgeTransformWcsPointToOcs
acgiContrastingForegroundColor
acgiForegroundColorForBackground
acgiIsLightBackground
acgiResolveSubEntityTraitsRgbFromBackground
clone
deepClone
defaults
has
isEmpty
isEqual
setLogLevel