Skip to content

System variables defaults and ranges #834

@DomCR

Description

@DomCR

Hello @DomCR.
With the changes made in the commit 307819c, the Autocad Application can open the created file as it should.

But in BricsCad, there is still a warning:
Image

Running the RECOVER command, on BricsCad, it makes a valid file, but the image object seems to be removed.

Command:

RECOVER

BricsCad Prompt:

Recover .dwg file.
Name: .dwg file
Value: Object improperly read: <AcDbRasterImage> (3E)
 Previous error: .dwg file needs recovery
Replaced by: Removed

Total errors found during recover: 1.
Audit recovered Database.
Name: Database header
Value: System Variable "TEXTSIZE"
Validation: Not >0
Replaced by: Set to 2.5

Name: Database header
Value: System Variable "CMLSTYLE"
Validation: Invalid
Replaced by: Standard

Name: Database header
Value: System Variable "PSOLWIDTH"
Validation: Not 2.22507e-308..1.79769e+308
Replaced by: Set to 5

Name: Database header
Value: System Variable "TILEMODELIGHTSYNCH"
Validation: Not 0..1
Replaced by: Set to 1

Name: Database header
Value: System Variable "LENSLENGTH"
Validation: Not >0
Replaced by: Set to 50

Name: Database header
Value: System Variable "3DDWFPREC"
Validation: Not 1..6
Replaced by: Set to 2

Name: AcDbTextStyleTableRecord(12)
Value: Is not externally dependent on an Xref, but XRefBlockId ((4)) is not Null
Validation: Invalid
Replaced by: Set to Null

Name: AcDbTextStyleTableRecord(12)
Value: Last height 0
Validation: Not >0
Replaced by: Set to 2.5

Name: AcDbDictionary(2D)
Value: AcDbDictionary (ACAD_FIELDLIST)
Validation: AcDbFieldList
Replaced by: Removed

Name: AcDbDictionary(A)
Value: Entry object (2D)
Validation: Invalid
Replaced by: Removed

Name: AcDbLayout(36)
Value: Layout has invalid ModelType flag
Validation: Invalid
Replaced by: Set to True

Name: AcDbMlineStyle(15)
Value: Segments amount 0
Validation: Not 1..16
Replaced by: Set to 1

67 objects audited
Total errors found during audit 13, fixed 13

Can you take a look at this?
Or the goal would be just Autocad compatibility?

Originally posted by @thaiguer in #702

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions