Event arguments for progress events during database operations.

interface AcDbProgressdEventArgs {
    data?: unknown;
    database: AcDbDatabase;
    percentage: number;
    stage: AcDbOpenFileStage;
    subStage?: AcDbConversionStage;
    subStageStatus: AcDbStageStatus;
}

Properties

data?: unknown

Store data associated with the current sub stage. Its meaning of different sub stages are as follows.

  • 'PARSE' stage: statistics of parsing task
  • 'FONT' stage: fonts needed by this drawing

Note: For now, 'PARSE' and 'FONT' sub stages use this field only.

database: AcDbDatabase

The database that triggered the event

percentage: number

The progress percentage (0-100)

The current stage of opening one drawing file

The current sub stage

subStageStatus: AcDbStageStatus

The status of the current sub stage