Rhino Next Gen Connector RenderMaterial updates

Dear community,

I am exploring the new Rhino connector, and I struggle with understanding the link between Geometry and Materials.

In the older version, the meshes that are streamed to Speckle had the RenderMaterial directly referenced on the displayValues property. In the latest version, however, I cannot find any link between the mesh and the material anymore. Yet, the viewer displays the elements correctly: Hence, the link must be stored somehow - I just can’t find it.

I’d highly appreciate it if anyone could point me in the right direction.

Thanks!
Kilian

Hi @ks4 ,

In the current connectors, you can find a list of all render materials in your model if you switch to Dev Mode in your scene explorer.

  1. Expand the scene explorer
  2. Click the Switch to dev mode icon: </> at the top.
  3. Expand the renderMaterialProxies array near the bottom of your model

Each entry inside this array represents a single unique render material in your model. You can expand the value on the proxy to see the render material properties, and you can expand the objects array to see the applicationIds of all objects in the model that use this render material.

Under the hood, we use this list of application ids to apply the correct render material to each object in your model!

1 Like

Thank you so much for the prompt and detailed help :slight_smile:

1 Like