NamedView.Restore not working rhinocommon

was wondering if could verify…

int v=Rhino.RhinoDoc.ActiveDoc.NamedViews.FindByName(strName);
if (v >= 0) //found named view
{
bool b = Rhino.RhinoDoc.ActiveDoc.NamedViews.Restore(v,Rhino.RhinoDoc.ActiveDoc.Views.ActiveView, false);
}

b is always false and doesn’t restore the named view, though it does ‘find’ the named view and returns correct index to restore.

5.7.31213.18395, 12/13/2013

Yea, something isn’t right. Let me see what I can find.

Looks like a bug. I’ve got it on the to-fix list.

This is definitely a bug and will be fixed in SR9.