DragomanJK
03-27-2002, 10:30 AM
is there anyway to check and see if one array has the same info as another?
i.e.
string $blue[4] = 'getPanel -vis';
string $twoview[4] = {"modelPanel1", "modelPanel4"};
if ($blue = $twoview) :wip:
setNamedPanelLayout "Four View";
else
setNamedPanelLayout "Front and Side";
What it is supposed to do is see if they current layout is Front view and side view, if it is then change it to a 4 view, and if it isn't change it to a 2 view.
Is there a better way to make it switch like that??
Thanks for any help
i.e.
string $blue[4] = 'getPanel -vis';
string $twoview[4] = {"modelPanel1", "modelPanel4"};
if ($blue = $twoview) :wip:
setNamedPanelLayout "Four View";
else
setNamedPanelLayout "Front and Side";
What it is supposed to do is see if they current layout is Front view and side view, if it is then change it to a 4 view, and if it isn't change it to a 2 view.
Is there a better way to make it switch like that??
Thanks for any help
