Skip to content

setThemingColor #2

Description

@nicolalopatriello

Hi. good project.
I'm newbie in forge and then my dubt is: What is the "testid"? i replaced it with the "TAG" that i have found in properties popup in viewer with my loaded models. Is correct?

I would just try so i simple added at line 72 in jour extension.js file this lines:

_viewer.setThemingColor( testdbid, new THREE.Vector4(0, 1, 0, 1) );
so it is before the #startwebsocket click handler. But i receve the following error:

Uncaught TypeError: Cannot read property 'setThemingColor' of null

Any suggest?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions