Rhinocommon API Request: GetDisplayModeOverride

Building out some functionality to work with custom display modes in a GH component, and the only piece missing is the ability to GetDisplayModeOverride() from the RhinoObject.Attributes.

HasDisplayModeOverride() doesn’t help me much because I want to know whether or not the existing override matches the new request before making a change. I don’t want to be changing overrides over and over again if it’s not necessary.

Any chance it could be added?

Thanks,
Marc

Hi @marcsyp,

Would returning the id of the display mode be sufficient?

– Dale

1 Like

Absolutely!

Got it, thanks.

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

– Dale

1 Like

Thanks Dale, for all your responses over the last few days. Keep your eyes peeled for a new post on Display and other bugs when using RhinoDoc.SelectObjects event handler. :slight_smile:

Cheers,
Marc