Skip to content

IFCObjectDefaults issue #276

@barnabasmolnar

Description

@barnabasmolnar

Hey there,

It seems like that the objectDefaults option isn't quite working as described here: https://github.com/xeokit/xeokit-sdk/wiki/Viewing-BIM-Models-Offline#setting-initial-states-for-ifc-types

const model = {
  id: 'example-model',
  src: './xkt/duplex.xkt',
  metaModelSrc: './xkt/duplex.json',
  edges: true,
  objectDefaults: {
    DEFAULT: {
      colorize: [1, 1, 1],
    },
  },
};

This is with the duplex models from the xeokit examples section. The expectation here would be that all elements are white but as you can see on the screenshot above it has these weird pink and grayish colours.

I believe you may have already had an email exchange with @eriadam about this issue but I just wanted to log it here as well with an example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions