InternalReadonlyconfigConfiguration for the converter
OptionaldatabaseOptionaldwgOptionalfileOptionalprogressOptional 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: numberProtectedonProtectedonProtectedparseProtectedprocessProtectedprocessProtectedprocessProtectedprocessOptionalprogress: 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
Database converter for DWG files based on libdxfrw-web.