Get materials used to build a model

  • Objective: I want to show a user the list of materials used to build a model and when the user selects the material I show all objects that use this material and ghost all others

  • Issue: Can I get meterials?

  • Speckle link: I use this model for testing Speckle

1 Like

Hi @Vova_Stoliar ,

Welcome to the community! If you’d like, feel free to introduce yourself to everyone :person_gesturing_ok:. While I’m not a developer, I’m happy to share what knowledge I have until someone more experienced can assist. In our Viewer, every visible object has a displayValue property that stores its geometric representation. This property also contains renderMaterial information, which you can extract and use in.

opera_fIMSwhg6J5

1 Like