AbstractCreates a new instance of the database converter.
Configuration options for the converter. This includes settings such as worker URL for web workers used in the conversion process. If not provided, an empty configuration object will be used.
ReadonlyconfigConfiguration for the converter
OptionalprogressOptional progress callback for tracking conversion progress
ProtectedgetProtectedgetResolves the parser worker timeout in milliseconds.
Explicit timeout always takes precedence. Otherwise the timeout scales linearly with file size at one extra second per MiB, clamped to the range of 30 seconds to 2 minutes.
Optionaltimeout: numberProtectedonProtectedonProtectedparseOptional_timeout: numberProtectedprocessProtectedprocessProtectedprocessProtectedprocessOptional_progress: AcDbConversionProgressCallbackProtectedprocessProtectedprocessProtectedprocessProtectedprocessProtectedprocessProtectedprocessReads and converts data into an AcDbDatabase.
This method orchestrates the entire conversion process, including parsing, processing various components (fonts, linetypes, styles, etc.), and building the final database.
The input data to convert
The database to populate with converted data
Minimum chunk size for batch processing
Optionalprogress: AcDbConversionProgressCallbackOptional progress callback
Optionaltimeout: numberPromise that resolves when conversion is complete
Abstract base class for database converters.
This class provides the foundation for converting various file formats (such as DXF, DWG) into AcDbDatabase objects. It handles the conversion process in stages and provides progress tracking capabilities.
Example