I have a function that performs an operation on geometry, but at the end of the operation, I need to refresh the panel, as I often have to move the persp camera for the textures to refresh.
Is there a way to script control the refresh of the panel?
global proc ProcessAndRefresh()
{
string $Selection[] = ls -sl -transforms;
string $Panel[] = getPanel -withFocus;
MyCustomProcessFunction($Selection);
//refreshPanel $Panel[0]; // how do I code this line???
}