I am corrently working on porting Rhino5 Plugins to Rhino 6 WIP and I have found that
the DisplayMode() previously defined in the object attributes like
// OpenNURBS objects can be displayed in one of three ways: wireframe,
// shaded, or render preview. If the display mode is ON::default_display,
// then the display mode of the viewport detrmines how the object
// is displayed. If the display mode is ON::wireframe_display,
// ON::shaded_display, or ON::renderpreview_display, then the object is
// forced to display in that mode.
ON::display_mode DisplayMode() const;
void SetDisplayMode( ON::display_mode ); // See DisplayMode().
has disappeared from there in WIP.
Is there a new way to get to the object’s display mode from the objects attributes ?
Thanks in advance