IFClite TypeScript API
    Preparing search index...

    Function declareLengthUnitScale

    • Record the length unit scale a non-STEP model's format defines, so every caller of extractLengthUnitScale (many read the unit from source and entityIndex rather than from the store) gets it without hunting for an IFCPROJECT the model cannot have. source says where the reader got it: 'default' when the format assumes the unit and nothing in the file declares it (IFCX), 'declared' when the file states it. Either way it is not re-diagnosed as a defect of the file.

      Parameters

      Returns void