Backface Setting: Single color for all objects

Hi,

Is there a way to change the Backface Settings from RhinoCommon C# in windows? I don’t find the option to set Single Color for All Backfaces

I was trying to do:

 var displayMode = DisplayModeDescription.GetDisplayMode(DisplayModeDescription.ShadedId);
 if (displayMode == null)
 {
     RhinoApp.WriteLine("No se encontró el modo de visualización 'Shaded'.");
     return;
 }

 displayMode.DisplayAttributes.UseCustomObjectColorBackfaces = false;
 displayMode.DisplayAttributes.BackMaterialDiffuseColor = Color.Red;
 DisplayModeDescription.UpdateDisplayMode(displayMode);

Thanks,

Rafa

Hi @rafadelmolino,

I’ve logged the issue for a developer to investigate.

https://mcneel.myjetbrains.com/youtrack/issue/RH-86440

– Dale

1 Like

I am working on this now jand, yes, you found oine thing I didn’t implement!

I am adding a BackIsCustom property which, when set in conjunction with UseBackmaterial, will turn that option on. I am going to doubke check this option in the process.

Thank you for pointing this out.

-Bill /)

4 Likes

Bill,

How I can track the status? I’m trying with SR18, but it is not there.

Thanks,

Rafa

Hi Rafa -

The issue is visible to the public so you can always check the state:
RH-86440 Backface Setting: Single color for all objects

This is currently still open and on the 8.x list of things to do.
-wim

RH-86440 is fixed in Rhino 8 Service Release 20

1 Like