I’m adding a new attribute with auto* displayAttrb = CRhinoDisplayAttrsMgr::CreateNewAttrs(APP_NAME, {}); and after setting all the settings, I call these two: CRhinoDisplayAttrsMgr::UpdateAttributes(*displayAttrb); CRhinoDisplayAttrsMgr::SaveProfile(RhinoApp().ProfileContext()); const auto view = RhinoApp().ActiveView(); view->ActiveViewport().SetDisplayMode(displayAttrb->m_pAttrs->Id()); view->Redraw();
However, the new view attribute doesn’t show in Rhino and isn’t set unless I restart Rhino.
What should be done to have it added in Rhino and used directly?
Thanks