ReadonlyconfigConfiguration for the converter
OptionalprogressOptional progress callback for tracking conversion progress
ProtectedgetProtectedonProtectedonProtectedparseDoes nothing and always passes the database instance back.
The database instance associated with this generator
ProtectedprocessProtectedprocessProtectedprocessProtectedprocessProcesses entities in batches to maintain UI responsiveness.
This method breaks up the entity processing work into smaller chunks that are executed asynchronously. This is often referred to as "batch processing" or "cooperative multitasking," where the time-consuming task is broken into smaller pieces and executed in small intervals to allow the UI to remain responsive.
Source database
Target database
Minimum number of entities to process in each chunk
Object containing the starting percentage for progress tracking
Optionalprogress: AcDbConversionProgressCallbackOptional callback for progress updates
ProtectedprocessProtectedprocessProtectedprocessProtectedprocessProtectedprocessProtectedprocessReads 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
Promise that resolves when conversion is complete
Database regenerator.
This class extends AcDbDatabaseConverter so that it can leverage the existing logic to open one database such as progress notification. However, it doesn't really do any conversion tasks and just pass one database instance and it.