Deprecated GetRenderMeshes method in v8

Hi,

In the Rhinocommon doc, it appears that the Rhino.DocObjects.RhinoObject.GetRenderMeshes method will be deprected in v8:

Which method should be used instead?

Thanks in advance for your feedback :slight_smile:

You should be able to use https://developer.rhino3d.com/api/rhinocommon/rhino.docobjects.rhinoobject/getmeshes

Hi @nathanletwory,

Thanks for your quick response.
OK, I’ll take a look to the GetMeshes method.

However, I have still a few questions:

  1. with the GetRenderMeshes method, there was the option to create the mesh in case it does not exist. I assume that with the proposed RhinoObject.GetMeshes, we will need to manually create the render mesh if it does not exist?
    What is the method to compute the render mesh?

  2. GetMeshes get a MeshType as parameter: what is the diference between the render mesh and the preview mesh?


    The ‘default mesh’ seems also not so clear to me.

  3. Is there a particular reason the GetRenderMeshes method get deprecated?

Thanks!

@andy will be able to explain better than I can.