NamedView.Restore not working rhinocommon


#1

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


Set Active and Maximize a NamedViewport
Animate transition from one perspective to another
(Dale Fugier) #2

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


(Dale Fugier) #3

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


(Steve Baer) #4

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