UNPKG

@mlightcad/data-model

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.

49 lines 1.9 kB
var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; return extendStatics(d, b); }; return function (d, b) { if (typeof b !== "function" && b !== null) throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); import { AcDbSymbolTable } from './AcDbSymbolTable'; /** * Symbol table for dimension style table records. * * This class manages dimension style table records which represent dimension styles * within the drawing database. Dimension styles define the appearance and behavior * of dimension entities, including text formatting, arrow styles, extension lines, * and other dimension-specific properties. * * @example * ```typescript * const dimStyleTable = new AcDbDimStyleTable(database); * const dimStyle = dimStyleTable.getAt('Standard'); * ``` */ var AcDbDimStyleTable = /** @class */ (function (_super) { __extends(AcDbDimStyleTable, _super); /** * Creates a new AcDbDimStyleTable instance. * * @param db - The database this dimension style table belongs to * * @example * ```typescript * const dimStyleTable = new AcDbDimStyleTable(database); * ``` */ function AcDbDimStyleTable(db) { return _super.call(this, db) || this; } return AcDbDimStyleTable; }(AcDbSymbolTable)); export { AcDbDimStyleTable }; //# sourceMappingURL=AcDbDimStyleTable.js.map