@mlightcad/data-model 1.3.3 → 1.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/data-model.cjs +5 -0
- package/dist/data-model.js +25523 -0
- package/dist/dxf-parser-worker.js +1715 -0
- package/lib/base/AcDbHostApplicationServices.d.ts +96 -0
- package/lib/base/AcDbHostApplicationServices.d.ts.map +1 -0
- package/lib/base/AcDbHostApplicationServices.js +118 -0
- package/lib/base/AcDbHostApplicationServices.js.map +1 -0
- package/lib/base/AcDbObject.d.ts +205 -0
- package/lib/base/AcDbObject.d.ts.map +1 -0
- package/lib/base/AcDbObject.js +236 -0
- package/lib/base/AcDbObject.js.map +1 -0
- package/lib/base/index.d.ts +3 -0
- package/lib/base/index.d.ts.map +1 -0
- package/lib/base/index.js +3 -0
- package/lib/base/index.js.map +1 -0
- package/lib/converter/AcDbBatchProcessing.d.ts +146 -0
- package/lib/converter/AcDbBatchProcessing.d.ts.map +1 -0
- package/lib/converter/AcDbBatchProcessing.js +272 -0
- package/lib/converter/AcDbBatchProcessing.js.map +1 -0
- package/lib/converter/AcDbDxfConverter.d.ts +272 -0
- package/lib/converter/AcDbDxfConverter.d.ts.map +1 -0
- package/lib/converter/AcDbDxfConverter.js +874 -0
- package/lib/converter/AcDbDxfConverter.js.map +1 -0
- package/lib/converter/AcDbDxfParser.d.ts +23 -0
- package/lib/converter/AcDbDxfParser.d.ts.map +1 -0
- package/lib/converter/AcDbDxfParser.js +85 -0
- package/lib/converter/AcDbDxfParser.js.map +1 -0
- package/lib/converter/AcDbEntitiyConverter.d.ts +159 -0
- package/lib/converter/AcDbEntitiyConverter.d.ts.map +1 -0
- package/lib/converter/AcDbEntitiyConverter.js +659 -0
- package/lib/converter/AcDbEntitiyConverter.js.map +1 -0
- package/lib/converter/AcDbObjectConverter.d.ts +61 -0
- package/lib/converter/AcDbObjectConverter.d.ts.map +1 -0
- package/lib/converter/AcDbObjectConverter.js +91 -0
- package/lib/converter/AcDbObjectConverter.js.map +1 -0
- package/lib/converter/AcDbRegenerator.d.ts +101 -0
- package/lib/converter/AcDbRegenerator.d.ts.map +1 -0
- package/lib/converter/AcDbRegenerator.js +334 -0
- package/lib/converter/AcDbRegenerator.js.map +1 -0
- package/lib/converter/index.d.ts +5 -0
- package/lib/converter/index.d.ts.map +1 -0
- package/lib/converter/index.js +5 -0
- package/lib/converter/index.js.map +1 -0
- package/lib/converter/worker/AcDbBaseWorker.d.ts +36 -0
- package/lib/converter/worker/AcDbBaseWorker.d.ts.map +1 -0
- package/lib/converter/worker/AcDbBaseWorker.js +93 -0
- package/lib/converter/worker/AcDbBaseWorker.js.map +1 -0
- package/lib/converter/worker/AcDbDxfParserWorker.d.ts +11 -0
- package/lib/converter/worker/AcDbDxfParserWorker.d.ts.map +1 -0
- package/lib/converter/worker/AcDbDxfParserWorker.js +75 -0
- package/lib/converter/worker/AcDbDxfParserWorker.js.map +1 -0
- package/lib/converter/worker/AcDbWorkerManager.d.ts +107 -0
- package/lib/converter/worker/AcDbWorkerManager.d.ts.map +1 -0
- package/lib/converter/worker/AcDbWorkerManager.js +360 -0
- package/lib/converter/worker/AcDbWorkerManager.js.map +1 -0
- package/lib/converter/worker/index.d.ts +3 -0
- package/lib/converter/worker/index.d.ts.map +1 -0
- package/lib/converter/worker/index.js +3 -0
- package/lib/converter/worker/index.js.map +1 -0
- package/lib/database/AcDbBlockTable.d.ts +56 -0
- package/lib/database/AcDbBlockTable.d.ts.map +1 -0
- package/lib/database/AcDbBlockTable.js +98 -0
- package/lib/database/AcDbBlockTable.js.map +1 -0
- package/lib/database/AcDbBlockTableRecord.d.ts +185 -0
- package/lib/database/AcDbBlockTableRecord.d.ts.map +1 -0
- package/lib/database/AcDbBlockTableRecord.js +261 -0
- package/lib/database/AcDbBlockTableRecord.js.map +1 -0
- package/lib/database/AcDbDatabase.d.ts +563 -0
- package/lib/database/AcDbDatabase.d.ts.map +1 -0
- package/lib/database/AcDbDatabase.js +842 -0
- package/lib/database/AcDbDatabase.js.map +1 -0
- package/lib/database/AcDbDatabaseConverter.d.ts +292 -0
- package/lib/database/AcDbDatabaseConverter.d.ts.map +1 -0
- package/lib/database/AcDbDatabaseConverter.js +448 -0
- package/lib/database/AcDbDatabaseConverter.js.map +1 -0
- package/lib/database/AcDbDatabaseConverterManager.d.ts +141 -0
- package/lib/database/AcDbDatabaseConverterManager.d.ts.map +1 -0
- package/lib/database/AcDbDatabaseConverterManager.js +173 -0
- package/lib/database/AcDbDatabaseConverterManager.js.map +1 -0
- package/lib/database/AcDbDimStyleTable.d.ts +31 -0
- package/lib/database/AcDbDimStyleTable.d.ts.map +1 -0
- package/lib/database/AcDbDimStyleTable.js +49 -0
- package/lib/database/AcDbDimStyleTable.js.map +1 -0
- package/lib/database/AcDbDimStyleTableRecord.d.ts +797 -0
- package/lib/database/AcDbDimStyleTableRecord.d.ts.map +1 -0
- package/lib/database/AcDbDimStyleTableRecord.js +1294 -0
- package/lib/database/AcDbDimStyleTableRecord.js.map +1 -0
- package/lib/database/AcDbDwgVersion.d.ts +32 -0
- package/lib/database/AcDbDwgVersion.d.ts.map +1 -0
- package/lib/database/AcDbDwgVersion.js +126 -0
- package/lib/database/AcDbDwgVersion.js.map +1 -0
- package/lib/database/AcDbLayerTable.d.ts +51 -0
- package/lib/database/AcDbLayerTable.d.ts.map +1 -0
- package/lib/database/AcDbLayerTable.js +92 -0
- package/lib/database/AcDbLayerTable.js.map +1 -0
- package/lib/database/AcDbLayerTableRecord.d.ts +278 -0
- package/lib/database/AcDbLayerTableRecord.d.ts.map +1 -0
- package/lib/database/AcDbLayerTableRecord.js +397 -0
- package/lib/database/AcDbLayerTableRecord.js.map +1 -0
- package/lib/database/AcDbLinetypeTable.d.ts +30 -0
- package/lib/database/AcDbLinetypeTable.d.ts.map +1 -0
- package/lib/database/AcDbLinetypeTable.js +48 -0
- package/lib/database/AcDbLinetypeTable.js.map +1 -0
- package/lib/database/AcDbLinetypeTableRecord.d.ts +79 -0
- package/lib/database/AcDbLinetypeTableRecord.d.ts.map +1 -0
- package/lib/database/AcDbLinetypeTableRecord.js +129 -0
- package/lib/database/AcDbLinetypeTableRecord.js.map +1 -0
- package/lib/database/AcDbSymbolTable.d.ts +199 -0
- package/lib/database/AcDbSymbolTable.d.ts.map +1 -0
- package/lib/database/AcDbSymbolTable.js +264 -0
- package/lib/database/AcDbSymbolTable.js.map +1 -0
- package/lib/database/AcDbSymbolTableRecord.d.ts +61 -0
- package/lib/database/AcDbSymbolTableRecord.d.ts.map +1 -0
- package/lib/database/AcDbSymbolTableRecord.js +82 -0
- package/lib/database/AcDbSymbolTableRecord.js.map +1 -0
- package/lib/database/AcDbTextStyleTable.d.ts +48 -0
- package/lib/database/AcDbTextStyleTable.d.ts.map +1 -0
- package/lib/database/AcDbTextStyleTable.js +112 -0
- package/lib/database/AcDbTextStyleTable.js.map +1 -0
- package/lib/database/AcDbTextStyleTableRecord.d.ts +179 -0
- package/lib/database/AcDbTextStyleTableRecord.d.ts.map +1 -0
- package/lib/database/AcDbTextStyleTableRecord.js +276 -0
- package/lib/database/AcDbTextStyleTableRecord.js.map +1 -0
- package/lib/database/AcDbViewportTable.d.ts +31 -0
- package/lib/database/AcDbViewportTable.d.ts.map +1 -0
- package/lib/database/AcDbViewportTable.js +49 -0
- package/lib/database/AcDbViewportTable.js.map +1 -0
- package/lib/database/AcDbViewportTableRecord.d.ts +154 -0
- package/lib/database/AcDbViewportTableRecord.d.ts.map +1 -0
- package/lib/database/AcDbViewportTableRecord.js +318 -0
- package/lib/database/AcDbViewportTableRecord.js.map +1 -0
- package/lib/database/index.d.ts +19 -0
- package/lib/database/index.d.ts.map +1 -0
- package/lib/database/index.js +19 -0
- package/lib/database/index.js.map +1 -0
- package/lib/entity/AcDbArc.d.ts +254 -0
- package/lib/entity/AcDbArc.d.ts.map +1 -0
- package/lib/entity/AcDbArc.js +340 -0
- package/lib/entity/AcDbArc.js.map +1 -0
- package/lib/entity/AcDbBlockReference.d.ts +190 -0
- package/lib/entity/AcDbBlockReference.d.ts.map +1 -0
- package/lib/entity/AcDbBlockReference.js +302 -0
- package/lib/entity/AcDbBlockReference.js.map +1 -0
- package/lib/entity/AcDbCircle.d.ts +186 -0
- package/lib/entity/AcDbCircle.d.ts.map +1 -0
- package/lib/entity/AcDbCircle.js +249 -0
- package/lib/entity/AcDbCircle.js.map +1 -0
- package/lib/entity/AcDbCurve.d.ts +42 -0
- package/lib/entity/AcDbCurve.d.ts.map +1 -0
- package/lib/entity/AcDbCurve.js +44 -0
- package/lib/entity/AcDbCurve.js.map +1 -0
- package/lib/entity/AcDbEllipse.d.ts +207 -0
- package/lib/entity/AcDbEllipse.d.ts.map +1 -0
- package/lib/entity/AcDbEllipse.js +272 -0
- package/lib/entity/AcDbEllipse.js.map +1 -0
- package/lib/entity/AcDbEntity.d.ts +385 -0
- package/lib/entity/AcDbEntity.d.ts.map +1 -0
- package/lib/entity/AcDbEntity.js +561 -0
- package/lib/entity/AcDbEntity.js.map +1 -0
- package/lib/entity/AcDbFace.d.ts +151 -0
- package/lib/entity/AcDbFace.d.ts.map +1 -0
- package/lib/entity/AcDbFace.js +224 -0
- package/lib/entity/AcDbFace.js.map +1 -0
- package/lib/entity/AcDbHatch.d.ts +174 -0
- package/lib/entity/AcDbHatch.d.ts.map +1 -0
- package/lib/entity/AcDbHatch.js +250 -0
- package/lib/entity/AcDbHatch.js.map +1 -0
- package/lib/entity/AcDbLeader.d.ts +243 -0
- package/lib/entity/AcDbLeader.d.ts.map +1 -0
- package/lib/entity/AcDbLeader.js +358 -0
- package/lib/entity/AcDbLeader.js.map +1 -0
- package/lib/entity/AcDbLine.d.ts +198 -0
- package/lib/entity/AcDbLine.d.ts.map +1 -0
- package/lib/entity/AcDbLine.js +300 -0
- package/lib/entity/AcDbLine.js.map +1 -0
- package/lib/entity/AcDbMText.d.ts +248 -0
- package/lib/entity/AcDbMText.d.ts.map +1 -0
- package/lib/entity/AcDbMText.js +414 -0
- package/lib/entity/AcDbMText.js.map +1 -0
- package/lib/entity/AcDbPoint.d.ts +113 -0
- package/lib/entity/AcDbPoint.d.ts.map +1 -0
- package/lib/entity/AcDbPoint.js +155 -0
- package/lib/entity/AcDbPoint.js.map +1 -0
- package/lib/entity/AcDbPolyline.d.ts +221 -0
- package/lib/entity/AcDbPolyline.d.ts.map +1 -0
- package/lib/entity/AcDbPolyline.js +301 -0
- package/lib/entity/AcDbPolyline.js.map +1 -0
- package/lib/entity/AcDbRasterImage.d.ts +216 -0
- package/lib/entity/AcDbRasterImage.d.ts.map +1 -0
- package/lib/entity/AcDbRasterImage.js +451 -0
- package/lib/entity/AcDbRasterImage.js.map +1 -0
- package/lib/entity/AcDbRay.d.ts +150 -0
- package/lib/entity/AcDbRay.d.ts.map +1 -0
- package/lib/entity/AcDbRay.js +208 -0
- package/lib/entity/AcDbRay.js.map +1 -0
- package/lib/entity/AcDbSpline.d.ts +135 -0
- package/lib/entity/AcDbSpline.d.ts.map +1 -0
- package/lib/entity/AcDbSpline.js +142 -0
- package/lib/entity/AcDbSpline.js.map +1 -0
- package/lib/entity/AcDbTable.d.ts +260 -0
- package/lib/entity/AcDbTable.d.ts.map +1 -0
- package/lib/entity/AcDbTable.js +452 -0
- package/lib/entity/AcDbTable.js.map +1 -0
- package/lib/entity/AcDbText.d.ts +388 -0
- package/lib/entity/AcDbText.d.ts.map +1 -0
- package/lib/entity/AcDbText.js +523 -0
- package/lib/entity/AcDbText.js.map +1 -0
- package/lib/entity/AcDbTrace.d.ts +193 -0
- package/lib/entity/AcDbTrace.d.ts.map +1 -0
- package/lib/entity/AcDbTrace.js +271 -0
- package/lib/entity/AcDbTrace.js.map +1 -0
- package/lib/entity/AcDbViewport.d.ts +173 -0
- package/lib/entity/AcDbViewport.d.ts.map +1 -0
- package/lib/entity/AcDbViewport.js +295 -0
- package/lib/entity/AcDbViewport.js.map +1 -0
- package/lib/entity/AcDbWipeout.d.ts +39 -0
- package/lib/entity/AcDbWipeout.d.ts.map +1 -0
- package/lib/entity/AcDbWipeout.js +70 -0
- package/lib/entity/AcDbWipeout.js.map +1 -0
- package/lib/entity/AcDbXline.d.ts +151 -0
- package/lib/entity/AcDbXline.d.ts.map +1 -0
- package/lib/entity/AcDbXline.js +209 -0
- package/lib/entity/AcDbXline.js.map +1 -0
- package/lib/entity/dimension/AcDb3PointAngularDimension.d.ts +92 -0
- package/lib/entity/dimension/AcDb3PointAngularDimension.d.ts.map +1 -0
- package/lib/entity/dimension/AcDb3PointAngularDimension.js +157 -0
- package/lib/entity/dimension/AcDb3PointAngularDimension.js.map +1 -0
- package/lib/entity/dimension/AcDbAlignedDimension.d.ts +220 -0
- package/lib/entity/dimension/AcDbAlignedDimension.d.ts.map +1 -0
- package/lib/entity/dimension/AcDbAlignedDimension.js +341 -0
- package/lib/entity/dimension/AcDbAlignedDimension.js.map +1 -0
- package/lib/entity/dimension/AcDbArcDimension.d.ts +94 -0
- package/lib/entity/dimension/AcDbArcDimension.d.ts.map +1 -0
- package/lib/entity/dimension/AcDbArcDimension.js +159 -0
- package/lib/entity/dimension/AcDbArcDimension.js.map +1 -0
- package/lib/entity/dimension/AcDbDiametricDimension.d.ts +145 -0
- package/lib/entity/dimension/AcDbDiametricDimension.d.ts.map +1 -0
- package/lib/entity/dimension/AcDbDiametricDimension.js +275 -0
- package/lib/entity/dimension/AcDbDiametricDimension.js.map +1 -0
- package/lib/entity/dimension/AcDbDimension.d.ts +257 -0
- package/lib/entity/dimension/AcDbDimension.d.ts.map +1 -0
- package/lib/entity/dimension/AcDbDimension.js +466 -0
- package/lib/entity/dimension/AcDbDimension.js.map +1 -0
- package/lib/entity/dimension/AcDbOrdinateDimension.d.ts +78 -0
- package/lib/entity/dimension/AcDbOrdinateDimension.d.ts.map +1 -0
- package/lib/entity/dimension/AcDbOrdinateDimension.js +133 -0
- package/lib/entity/dimension/AcDbOrdinateDimension.js.map +1 -0
- package/lib/entity/dimension/AcDbRadialDimension.d.ts +214 -0
- package/lib/entity/dimension/AcDbRadialDimension.d.ts.map +1 -0
- package/lib/entity/dimension/AcDbRadialDimension.js +288 -0
- package/lib/entity/dimension/AcDbRadialDimension.js.map +1 -0
- package/lib/entity/dimension/index.d.ts +8 -0
- package/lib/entity/dimension/index.d.ts.map +1 -0
- package/lib/entity/dimension/index.js +8 -0
- package/lib/entity/dimension/index.js.map +1 -0
- package/lib/entity/index.d.ts +24 -0
- package/lib/entity/index.d.ts.map +1 -0
- package/lib/entity/index.js +24 -0
- package/lib/entity/index.js.map +1 -0
- package/lib/index.d.ts +10 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +10 -0
- package/lib/index.js.map +1 -0
- package/lib/misc/AcDbAngleUnits.d.ts +20 -0
- package/lib/misc/AcDbAngleUnits.d.ts.map +1 -0
- package/lib/misc/AcDbAngleUnits.js +21 -0
- package/lib/misc/AcDbAngleUnits.js.map +1 -0
- package/lib/misc/AcDbCodePage.d.ts +50 -0
- package/lib/misc/AcDbCodePage.d.ts.map +1 -0
- package/lib/misc/AcDbCodePage.js +100 -0
- package/lib/misc/AcDbCodePage.js.map +1 -0
- package/lib/misc/AcDbConstants.d.ts +24 -0
- package/lib/misc/AcDbConstants.d.ts.map +1 -0
- package/lib/misc/AcDbConstants.js +24 -0
- package/lib/misc/AcDbConstants.js.map +1 -0
- package/lib/misc/AcDbDimArrowType.d.ts +89 -0
- package/lib/misc/AcDbDimArrowType.d.ts.map +1 -0
- package/lib/misc/AcDbDimArrowType.js +90 -0
- package/lib/misc/AcDbDimArrowType.js.map +1 -0
- package/lib/misc/AcDbObjectIterator.d.ts +64 -0
- package/lib/misc/AcDbObjectIterator.d.ts.map +1 -0
- package/lib/misc/AcDbObjectIterator.js +84 -0
- package/lib/misc/AcDbObjectIterator.js.map +1 -0
- package/lib/misc/AcDbOsnapMode.d.ts +51 -0
- package/lib/misc/AcDbOsnapMode.d.ts.map +1 -0
- package/lib/misc/AcDbOsnapMode.js +52 -0
- package/lib/misc/AcDbOsnapMode.js.map +1 -0
- package/lib/misc/AcDbRenderingCache.d.ts +141 -0
- package/lib/misc/AcDbRenderingCache.d.ts.map +1 -0
- package/lib/misc/AcDbRenderingCache.js +239 -0
- package/lib/misc/AcDbRenderingCache.js.map +1 -0
- package/lib/misc/AcDbUnitsValue.d.ts +101 -0
- package/lib/misc/AcDbUnitsValue.d.ts.map +1 -0
- package/lib/misc/AcDbUnitsValue.js +121 -0
- package/lib/misc/AcDbUnitsValue.js.map +1 -0
- package/lib/misc/index.d.ts +9 -0
- package/lib/misc/index.d.ts.map +1 -0
- package/lib/misc/index.js +9 -0
- package/lib/misc/index.js.map +1 -0
- package/lib/object/AcDbDictionary.d.ts +178 -0
- package/lib/object/AcDbDictionary.d.ts.map +1 -0
- package/lib/object/AcDbDictionary.js +264 -0
- package/lib/object/AcDbDictionary.js.map +1 -0
- package/lib/object/AcDbRasterImageDef.d.ts +54 -0
- package/lib/object/AcDbRasterImageDef.d.ts.map +1 -0
- package/lib/object/AcDbRasterImageDef.js +82 -0
- package/lib/object/AcDbRasterImageDef.js.map +1 -0
- package/lib/object/index.d.ts +4 -0
- package/lib/object/index.d.ts.map +1 -0
- package/lib/object/index.js +4 -0
- package/lib/object/index.js.map +1 -0
- package/lib/object/layout/AcDbLayout.d.ts +190 -0
- package/lib/object/layout/AcDbLayout.d.ts.map +1 -0
- package/lib/object/layout/AcDbLayout.js +253 -0
- package/lib/object/layout/AcDbLayout.js.map +1 -0
- package/lib/object/layout/AcDbLayoutDictionary.d.ts +47 -0
- package/lib/object/layout/AcDbLayoutDictionary.d.ts.map +1 -0
- package/lib/object/layout/AcDbLayoutDictionary.js +122 -0
- package/lib/object/layout/AcDbLayoutDictionary.js.map +1 -0
- package/lib/object/layout/AcDbLayoutManager.d.ts +188 -0
- package/lib/object/layout/AcDbLayoutManager.d.ts.map +1 -0
- package/lib/object/layout/AcDbLayoutManager.js +245 -0
- package/lib/object/layout/AcDbLayoutManager.js.map +1 -0
- package/lib/object/layout/index.d.ts +4 -0
- package/lib/object/layout/index.d.ts.map +1 -0
- package/lib/object/layout/index.js +4 -0
- package/lib/object/layout/index.js.map +1 -0
- package/package.json +4 -4
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
import { AcGePoint3d } from '@mlightcad/geometry-engine';
|
|
2
|
+
import { AcDbObjectId } from '../base/AcDbObject';
|
|
3
|
+
import { AcDbEntity } from '../entity/AcDbEntity';
|
|
4
|
+
import { AcDbObjectIterator } from '../misc/AcDbObjectIterator';
|
|
5
|
+
import { AcDbSymbolTableRecord } from './AcDbSymbolTableRecord';
|
|
6
|
+
/**
|
|
7
|
+
* Block table record that serves as a container for entities within drawing databases.
|
|
8
|
+
*
|
|
9
|
+
* Block table records (BTRs) are used to organize and group entities together.
|
|
10
|
+
* There are two special BTRs that are always present in every database:
|
|
11
|
+
* - *MODEL_SPACE: Contains entities in model space
|
|
12
|
+
* - *PAPER_SPACE: Contains entities in paper space
|
|
13
|
+
*
|
|
14
|
+
* Each block table record has an origin point and can contain multiple entities.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```typescript
|
|
18
|
+
* const blockRecord = new AcDbBlockTableRecord();
|
|
19
|
+
* blockRecord.name = 'MyBlock';
|
|
20
|
+
* blockRecord.origin = new AcGePoint3d(0, 0, 0);
|
|
21
|
+
* blockRecord.appendEntity(new AcDbLine());
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
export declare class AcDbBlockTableRecord extends AcDbSymbolTableRecord {
|
|
25
|
+
/** Name constant for model space block table record */
|
|
26
|
+
static MODEL_SPACE_NAME: string;
|
|
27
|
+
/** Name prefix for paper space block table records */
|
|
28
|
+
static PAPER_SPACE_NAME_PREFIX: string;
|
|
29
|
+
/** The base point of the block in WCS coordinates */
|
|
30
|
+
private _origin;
|
|
31
|
+
/** The object id of the associated AcDbLayout object in the Layouts dictionary.*/
|
|
32
|
+
private _layoutId;
|
|
33
|
+
/** Map of entities indexed by their object IDs */
|
|
34
|
+
private _entities;
|
|
35
|
+
/**
|
|
36
|
+
* Returns true if the specified name is the name of the model space block table record.
|
|
37
|
+
*
|
|
38
|
+
* Model space is the primary drawing area where most entities are created.
|
|
39
|
+
*
|
|
40
|
+
* @param name - The name of one block table record.
|
|
41
|
+
* @returns True if the specified name is the name of the model space block table record.
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* ```typescript
|
|
45
|
+
* if (AcDbBlockTableRecord.isModelSapceName('*Model_Space')) {
|
|
46
|
+
* console.log('This is the name of the model space block table record.');
|
|
47
|
+
* }
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
static isModelSapceName(name: string): boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Returns true if the specified name is the name of a paper space block table record.
|
|
53
|
+
*
|
|
54
|
+
* Paper space is used for creating layouts for printing and plotting.
|
|
55
|
+
*
|
|
56
|
+
* @param name - The name of one block table record.
|
|
57
|
+
* @returns True if the specified name is the name of a paper space block table record.
|
|
58
|
+
*
|
|
59
|
+
* @example
|
|
60
|
+
* ```typescript
|
|
61
|
+
* if (AcDbBlockTableRecord.isPaperSapceName('*Paper_Space1')) {
|
|
62
|
+
* console.log('This is the name of the paper space block table record.');
|
|
63
|
+
* }
|
|
64
|
+
* ```
|
|
65
|
+
*/
|
|
66
|
+
static isPaperSapceName(name: string): boolean;
|
|
67
|
+
/**
|
|
68
|
+
* Creates a new AcDbBlockTableRecord instance.
|
|
69
|
+
*
|
|
70
|
+
* @example
|
|
71
|
+
* ```typescript
|
|
72
|
+
* const blockRecord = new AcDbBlockTableRecord();
|
|
73
|
+
* ```
|
|
74
|
+
*/
|
|
75
|
+
constructor();
|
|
76
|
+
/**
|
|
77
|
+
* Returns true if this is a model space block table record.
|
|
78
|
+
*
|
|
79
|
+
* Model space is the primary drawing area where most entities are created.
|
|
80
|
+
*
|
|
81
|
+
* @returns True if this is a model space block table record
|
|
82
|
+
*
|
|
83
|
+
* @example
|
|
84
|
+
* ```typescript
|
|
85
|
+
* if (blockRecord.isModelSapce) {
|
|
86
|
+
* console.log('This is model space');
|
|
87
|
+
* }
|
|
88
|
+
* ```
|
|
89
|
+
*/
|
|
90
|
+
get isModelSapce(): boolean;
|
|
91
|
+
/**
|
|
92
|
+
* Returns true if this is a paper space block table record.
|
|
93
|
+
*
|
|
94
|
+
* Paper space is used for creating layouts for printing and plotting.
|
|
95
|
+
*
|
|
96
|
+
* @returns True if this is a paper space block table record
|
|
97
|
+
*
|
|
98
|
+
* @example
|
|
99
|
+
* ```typescript
|
|
100
|
+
* if (blockRecord.isPaperSapce) {
|
|
101
|
+
* console.log('This is paper space');
|
|
102
|
+
* }
|
|
103
|
+
* ```
|
|
104
|
+
*/
|
|
105
|
+
get isPaperSapce(): boolean;
|
|
106
|
+
/**
|
|
107
|
+
* Gets or sets the base point of the block in WCS coordinates.
|
|
108
|
+
*
|
|
109
|
+
* This point is the origin of the MCS (Model Coordinate System), which is the
|
|
110
|
+
* local WCS for the entities within the block table record.
|
|
111
|
+
*
|
|
112
|
+
* @returns The origin point of the block
|
|
113
|
+
*
|
|
114
|
+
* @example
|
|
115
|
+
* ```typescript
|
|
116
|
+
* const origin = blockRecord.origin;
|
|
117
|
+
* blockRecord.origin = new AcGePoint3d(10, 20, 0);
|
|
118
|
+
* ```
|
|
119
|
+
*/
|
|
120
|
+
get origin(): AcGePoint3d;
|
|
121
|
+
set origin(value: AcGePoint3d);
|
|
122
|
+
/**
|
|
123
|
+
* Gets or sets the object ID of the associated AcDbLayout object in the Layouts dictionary.
|
|
124
|
+
*
|
|
125
|
+
* This property links the block table record to its corresponding layout object,
|
|
126
|
+
* which defines the viewport configuration and display settings for the block.
|
|
127
|
+
* For model space blocks, this is typically empty, while paper space blocks
|
|
128
|
+
* have a corresponding layout ID.
|
|
129
|
+
*
|
|
130
|
+
* @returns The object ID of the associated layout
|
|
131
|
+
*
|
|
132
|
+
* @example
|
|
133
|
+
* ```typescript
|
|
134
|
+
* const layoutId = blockRecord.layoutId;
|
|
135
|
+
* blockRecord.layoutId = 'some-layout-object-id';
|
|
136
|
+
* ```
|
|
137
|
+
*/
|
|
138
|
+
get layoutId(): AcDbObjectId;
|
|
139
|
+
set layoutId(value: AcDbObjectId);
|
|
140
|
+
/**
|
|
141
|
+
* Appends the specified entity or entities to this block table record.
|
|
142
|
+
*
|
|
143
|
+
* This method adds an entity to the block and sets up the necessary
|
|
144
|
+
* relationships between the entity and the block table record.
|
|
145
|
+
*
|
|
146
|
+
* @param entity - The entity or entities to append to this block table record
|
|
147
|
+
*
|
|
148
|
+
* @example
|
|
149
|
+
* ```typescript
|
|
150
|
+
* const line = new AcDbLine();
|
|
151
|
+
* blockRecord.appendEntity(line);
|
|
152
|
+
* ```
|
|
153
|
+
*/
|
|
154
|
+
appendEntity(entity: AcDbEntity | AcDbEntity[]): void;
|
|
155
|
+
/**
|
|
156
|
+
* Creates an iterator object that can be used to iterate over the entities in the block table record.
|
|
157
|
+
*
|
|
158
|
+
* @returns An iterator object that can be used to iterate over the entities
|
|
159
|
+
*
|
|
160
|
+
* @example
|
|
161
|
+
* ```typescript
|
|
162
|
+
* const iterator = blockRecord.newIterator();
|
|
163
|
+
* for (const entity of iterator) {
|
|
164
|
+
* console.log('Entity:', entity.type);
|
|
165
|
+
* }
|
|
166
|
+
* ```
|
|
167
|
+
*/
|
|
168
|
+
newIterator(): AcDbObjectIterator<AcDbEntity>;
|
|
169
|
+
/**
|
|
170
|
+
* Searches for an entity in this block table record with the specified ID.
|
|
171
|
+
*
|
|
172
|
+
* @param id - The entity ID to search for
|
|
173
|
+
* @returns The entity with the specified ID, or undefined if not found
|
|
174
|
+
*
|
|
175
|
+
* @example
|
|
176
|
+
* ```typescript
|
|
177
|
+
* const entity = blockRecord.getIdAt('some-entity-id');
|
|
178
|
+
* if (entity) {
|
|
179
|
+
* console.log('Found entity:', entity.type);
|
|
180
|
+
* }
|
|
181
|
+
* ```
|
|
182
|
+
*/
|
|
183
|
+
getIdAt(id: string): AcDbEntity | undefined;
|
|
184
|
+
}
|
|
185
|
+
//# sourceM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;;;;;;;;OAaG;IACH,YAAY,CAAC,MAAM,EAAE,UAAU,GAAG,UAAU,EAAE;IAwB9C;;;;;;;;;;;;OAYG;IACH,WAAW,IAAI,kBAAkB,CAAC,UAAU,CAAC;IAI7C;;;;;;;;;;;;;OAaG;IACH,OAAO,CAAC,EAAE,EAAE,MAAM;CAGnB"}
|
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
11
|
+
extendStatics(d, b);
|
|
12
|
+
function __() { this.constructor = d; }
|
|
13
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
14
|
+
};
|
|
15
|
+
})();
|
|
16
|
+
import { AcGePoint3d } from '@mlightcad/geometry-engine';
|
|
17
|
+
import { AcDbObjectIterator } from '../misc/AcDbObjectIterator';
|
|
18
|
+
import { AcDbSymbolTableRecord } from './AcDbSymbolTableRecord';
|
|
19
|
+
/**
|
|
20
|
+
* Block table record that serves as a container for entities within drawing databases.
|
|
21
|
+
*
|
|
22
|
+
* Block table records (BTRs) are used to organize and group entities together.
|
|
23
|
+
* There are two special BTRs that are always present in every database:
|
|
24
|
+
* - *MODEL_SPACE: Contains entities in model space
|
|
25
|
+
* - *PAPER_SPACE: Contains entities in paper space
|
|
26
|
+
*
|
|
27
|
+
* Each block table record has an origin point and can contain multiple entities.
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* ```typescript
|
|
31
|
+
* const blockRecord = new AcDbBlockTableRecord();
|
|
32
|
+
* blockRecord.name = 'MyBlock';
|
|
33
|
+
* blockRecord.origin = new AcGePoint3d(0, 0, 0);
|
|
34
|
+
* blockRecord.appendEntity(new AcDbLine());
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
var AcDbBlockTableRecord = /** @class */ (function (_super) {
|
|
38
|
+
__extends(AcDbBlockTableRecord, _super);
|
|
39
|
+
/**
|
|
40
|
+
* Creates a new AcDbBlockTableRecord instance.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* ```typescript
|
|
44
|
+
* const blockRecord = new AcDbBlockTableRecord();
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
function AcDbBlockTableRecord() {
|
|
48
|
+
var _this = _super.call(this) || this;
|
|
49
|
+
_this._origin = new AcGePoint3d();
|
|
50
|
+
_this._layoutId = '';
|
|
51
|
+
_this._entities = new Map();
|
|
52
|
+
return _this;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Returns true if the specified name is the name of the model space block table record.
|
|
56
|
+
*
|
|
57
|
+
* Model space is the primary drawing area where most entities are created.
|
|
58
|
+
*
|
|
59
|
+
* @param name - The name of one block table record.
|
|
60
|
+
* @returns True if the specified name is the name of the model space block table record.
|
|
61
|
+
*
|
|
62
|
+
* @example
|
|
63
|
+
* ```typescript
|
|
64
|
+
* if (AcDbBlockTableRecord.isModelSapceName('*Model_Space')) {
|
|
65
|
+
* console.log('This is the name of the model space block table record.');
|
|
66
|
+
* }
|
|
67
|
+
* ```
|
|
68
|
+
*/
|
|
69
|
+
AcDbBlockTableRecord.isModelSapceName = function (name) {
|
|
70
|
+
return (name.toLowerCase() == AcDbBlockTableRecord.MODEL_SPACE_NAME.toLowerCase());
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* Returns true if the specified name is the name of a paper space block table record.
|
|
74
|
+
*
|
|
75
|
+
* Paper space is used for creating layouts for printing and plotting.
|
|
76
|
+
*
|
|
77
|
+
* @param name - The name of one block table record.
|
|
78
|
+
* @returns True if the specified name is the name of a paper space block table record.
|
|
79
|
+
*
|
|
80
|
+
* @example
|
|
81
|
+
* ```typescript
|
|
82
|
+
* if (AcDbBlockTableRecord.isPaperSapceName('*Paper_Space1')) {
|
|
83
|
+
* console.log('This is the name of the paper space block table record.');
|
|
84
|
+
* }
|
|
85
|
+
* ```
|
|
86
|
+
*/
|
|
87
|
+
AcDbBlockTableRecord.isPaperSapceName = function (name) {
|
|
88
|
+
return name
|
|
89
|
+
.toLowerCase()
|
|
90
|
+
.startsWith(AcDbBlockTableRecord.PAPER_SPACE_NAME_PREFIX.toLowerCase());
|
|
91
|
+
};
|
|
92
|
+
Object.defineProperty(AcDbBlockTableRecord.prototype, "isModelSapce", {
|
|
93
|
+
/**
|
|
94
|
+
* Returns true if this is a model space block table record.
|
|
95
|
+
*
|
|
96
|
+
* Model space is the primary drawing area where most entities are created.
|
|
97
|
+
*
|
|
98
|
+
* @returns True if this is a model space block table record
|
|
99
|
+
*
|
|
100
|
+
* @example
|
|
101
|
+
* ```typescript
|
|
102
|
+
* if (blockRecord.isModelSapce) {
|
|
103
|
+
* console.log('This is model space');
|
|
104
|
+
* }
|
|
105
|
+
* ```
|
|
106
|
+
*/
|
|
107
|
+
get: function () {
|
|
108
|
+
return AcDbBlockTableRecord.isModelSapceName(this.name);
|
|
109
|
+
},
|
|
110
|
+
enumerable: false,
|
|
111
|
+
configurable: true
|
|
112
|
+
});
|
|
113
|
+
Object.defineProperty(AcDbBlockTableRecord.prototype, "isPaperSapce", {
|
|
114
|
+
/**
|
|
115
|
+
* Returns true if this is a paper space block table record.
|
|
116
|
+
*
|
|
117
|
+
* Paper space is used for creating layouts for printing and plotting.
|
|
118
|
+
*
|
|
119
|
+
* @returns True if this is a paper space block table record
|
|
120
|
+
*
|
|
121
|
+
* @example
|
|
122
|
+
* ```typescript
|
|
123
|
+
* if (blockRecord.isPaperSapce) {
|
|
124
|
+
* console.log('This is paper space');
|
|
125
|
+
* }
|
|
126
|
+
* ```
|
|
127
|
+
*/
|
|
128
|
+
get: function () {
|
|
129
|
+
return AcDbBlockTableRecord.isPaperSapceName(this.name);
|
|
130
|
+
},
|
|
131
|
+
enumerable: false,
|
|
132
|
+
configurable: true
|
|
133
|
+
});
|
|
134
|
+
Object.defineProperty(AcDbBlockTableRecord.prototype, "origin", {
|
|
135
|
+
/**
|
|
136
|
+
* Gets or sets the base point of the block in WCS coordinates.
|
|
137
|
+
*
|
|
138
|
+
* This point is the origin of the MCS (Model Coordinate System), which is the
|
|
139
|
+
* local WCS for the entities within the block table record.
|
|
140
|
+
*
|
|
141
|
+
* @returns The origin point of the block
|
|
142
|
+
*
|
|
143
|
+
* @example
|
|
144
|
+
* ```typescript
|
|
145
|
+
* const origin = blockRecord.origin;
|
|
146
|
+
* blockRecord.origin = new AcGePoint3d(10, 20, 0);
|
|
147
|
+
* ```
|
|
148
|
+
*/
|
|
149
|
+
get: function () {
|
|
150
|
+
return this._origin;
|
|
151
|
+
},
|
|
152
|
+
set: function (value) {
|
|
153
|
+
this._origin.copy(value);
|
|
154
|
+
},
|
|
155
|
+
enumerable: false,
|
|
156
|
+
configurable: true
|
|
157
|
+
});
|
|
158
|
+
Object.defineProperty(AcDbBlockTableRecord.prototype, "layoutId", {
|
|
159
|
+
/**
|
|
160
|
+
* Gets or sets the object ID of the associated AcDbLayout object in the Layouts dictionary.
|
|
161
|
+
*
|
|
162
|
+
* This property links the block table record to its corresponding layout object,
|
|
163
|
+
* which defines the viewport configuration and display settings for the block.
|
|
164
|
+
* For model space blocks, this is typically empty, while paper space blocks
|
|
165
|
+
* have a corresponding layout ID.
|
|
166
|
+
*
|
|
167
|
+
* @returns The object ID of the associated layout
|
|
168
|
+
*
|
|
169
|
+
* @example
|
|
170
|
+
* ```typescript
|
|
171
|
+
* const layoutId = blockRecord.layoutId;
|
|
172
|
+
* blockRecord.layoutId = 'some-layout-object-id';
|
|
173
|
+
* ```
|
|
174
|
+
*/
|
|
175
|
+
get: function () {
|
|
176
|
+
return this._layoutId;
|
|
177
|
+
},
|
|
178
|
+
set: function (value) {
|
|
179
|
+
this._layoutId = value;
|
|
180
|
+
},
|
|
181
|
+
enumerable: false,
|
|
182
|
+
configurable: true
|
|
183
|
+
});
|
|
184
|
+
/**
|
|
185
|
+
* Appends the specified entity or entities to this block table record.
|
|
186
|
+
*
|
|
187
|
+
* This method adds an entity to the block and sets up the necessary
|
|
188
|
+
* relationships between the entity and the block table record.
|
|
189
|
+
*
|
|
190
|
+
* @param entity - The entity or entities to append to this block table record
|
|
191
|
+
*
|
|
192
|
+
* @example
|
|
193
|
+
* ```typescript
|
|
194
|
+
* const line = new AcDbLine();
|
|
195
|
+
* blockRecord.appendEntity(line);
|
|
196
|
+
* ```
|
|
197
|
+
*/
|
|
198
|
+
AcDbBlockTableRecord.prototype.appendEntity = function (entity) {
|
|
199
|
+
if (Array.isArray(entity)) {
|
|
200
|
+
for (var i = 0; i < entity.length; ++i) {
|
|
201
|
+
var item = entity[i];
|
|
202
|
+
item.database = this.database;
|
|
203
|
+
item.ownerId = this.objectId;
|
|
204
|
+
this._entities.set(item.objectId, item);
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
else {
|
|
208
|
+
entity.database = this.database;
|
|
209
|
+
entity.ownerId = this.objectId;
|
|
210
|
+
this._entities.set(entity.objectId, entity);
|
|
211
|
+
}
|
|
212
|
+
// When creating one block, it will also go to this function. But we don't want `entityAppended` event
|
|
213
|
+
// tiggered in this case. So check whether the block name is name of the model space.
|
|
214
|
+
if (this.isModelSapce || this.isPaperSapce) {
|
|
215
|
+
this.database.events.entityAppended.dispatch({
|
|
216
|
+
database: this.database,
|
|
217
|
+
entity: entity
|
|
218
|
+
});
|
|
219
|
+
}
|
|
220
|
+
};
|
|
221
|
+
/**
|
|
222
|
+
* Creates an iterator object that can be used to iterate over the entities in the block table record.
|
|
223
|
+
*
|
|
224
|
+
* @returns An iterator object that can be used to iterate over the entities
|
|
225
|
+
*
|
|
226
|
+
* @example
|
|
227
|
+
* ```typescript
|
|
228
|
+
* const iterator = blockRecord.newIterator();
|
|
229
|
+
* for (const entity of iterator) {
|
|
230
|
+
* console.log('Entity:', entity.type);
|
|
231
|
+
* }
|
|
232
|
+
* ```
|
|
233
|
+
*/
|
|
234
|
+
AcDbBlockTableRecord.prototype.newIterator = function () {
|
|
235
|
+
return new AcDbObjectIterator(this._entities);
|
|
236
|
+
};
|
|
237
|
+
/**
|
|
238
|
+
* Searches for an entity in this block table record with the specified ID.
|
|
239
|
+
*
|
|
240
|
+
* @param id - The entity ID to search for
|
|
241
|
+
* @returns The entity with the specified ID, or undefined if not found
|
|
242
|
+
*
|
|
243
|
+
* @example
|
|
244
|
+
* ```typescript
|
|
245
|
+
* const entity = blockRecord.getIdAt('some-entity-id');
|
|
246
|
+
* if (entity) {
|
|
247
|
+
* console.log('Found entity:', entity.type);
|
|
248
|
+
* }
|
|
249
|
+
* ```
|
|
250
|
+
*/
|
|
251
|
+
AcDbBlockTableRecord.prototype.getIdAt = function (id) {
|
|
252
|
+
return this._entities.get(id);
|
|
253
|
+
};
|
|
254
|
+
/** Name constant for model space block table record */
|
|
255
|
+
AcDbBlockTableRecord.MODEL_SPACE_NAME = '*MODEL_SPACE';
|
|
256
|
+
/** Name prefix for paper space block table records */
|
|
257
|
+
AcDbBlockTableRecord.PAPER_SPACE_NAME_PREFIX = '*PAPER_SPACE';
|
|
258
|
+
return AcDbBlockTableRecord;
|
|
259
|
+
}(AcDbSymbolTableRecord));
|
|
260
|
+
export { AcDbBlockTableRecord };
|
|
261
|
+
//# sourceMappingURL=AcDbBlockTableRecord.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcDbBlockTableRecord.js","sourceRoot":"","sources":["../../src/database/AcDbBlockTableRecord.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA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