uffarm.blogg.se

How to set uo objects for render and display in rhino
How to set uo objects for render and display in rhino








It actually tells me that An object reference is required for the non-static field, method, or property ‘DisplayPipeline.DrawBrepShaded(Brep, DisplayMaterial)’. Apply the material to all BReps in the sceneįoreach (BrepObject geo in BrepInTheScene)ĭisplayPipeline.DrawBrepShaded(geo.BrepGeometry, twoSidedMaterial) RhinoApp.WriteLine(" Breps", BrepInTheScene.Count()) ĭisplayMaterial twoSidedMaterial = new DisplayMaterial() IEnumerable BrepInTheScene = rhinoObjects.GetObjectsByType() Here is what I tried to do, the script: // Import all Rhino Objects

how to set uo objects for render and display in rhino

I’ve been strugling a while by trying to use DrawBrepShaded.










How to set uo objects for render and display in rhino