Create RenderMaterial from DisplayMaterial

https://developer.rhino3d.com/api/RhinoCommon/html/T_Rhino_DocObjects_Material.htm
DocObjectsMaterial doesn’t have any Method can directly take RenderMaterial or .rmlt. or .xml.

This post mentioned need to transfer material properity by each.
Once get DocOBjectMaterial done, use “var dm = new Rhino.Display.DisplayMaterial(DocObject.Material);”