Rhinocommon DisplayMode Change Event

Hello,

I would like to know if there is a way to detect if any viewport changes its display mode to raytraced, in order to change some object materials, Anyone know if that is posible?

Thanks in advance.
Will

Hi @Harper,

If you are developing in C++, you can create a CRhinoDisplayModeChanged event watcher. This is not yet available in RhinoCommon, however.

Does this help?

– Dale

Hi @dale Thanks for the answer, I’m using rhinicommon C#, is there a way to make a wrapper from rhinocommon_c?

Hi @Harper,

I’ve added your request to the pile.

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

– Dale

Thank you.

RH-52991 is fixed in the latest Service Release Candidate

Thanks!

Will.