Skip to content

LAYER does not surface its true colour (R2004+) #245

Open

Description

@DrunkOnJava

Spec: §20.4.54 LAYER (CMC color 62), §2.11 CmColor.

Three layers of the ACadSharp saves (285, 286, 9F4) have an RGB colour: AutoCAD's export writes 420 with the RGB and a 62 it derives from it (150, 31, 247), while the DWG's CMC index word is 0. tables::layer::Layer keeps only color_index (0 for these), so the oracle (#99) cannot compare the colour and lists 420 as not decoded. Surface the full colour (index, RGB, colour byte, as objects::color::ObjectColor does) on every release.

Acceptance

  • Layer carries the RGB; the oracle scores 420 = on every release

Activity

  1. added
    type:feature
    area:tables
    area:oracle
    priority:P2
    on Oct 26, 2026
  2. added
    release:R2004
    release:R2007
    release:R2010
    release:R2013
    release:R2018
    on Oct 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:oraclearea:tablespriority:P2release:R2004release:R2007release:R2010release:R2013release:R2018type:feature

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions