|
You can charge all the files from the command line together with a
script: gmsh *.pos test.script The following script should work: // test.script //================================================= Min = 1e+22 ; Max = -1e+22 ; For i In {0:PostProcessing.NbViews-1} Plugin(MinMax).Run ; Mini = View[PostProcessing.NbViews-2].Min ; Maxi = View[PostProcessing.NbViews-1].Max*3 ; Min = (Min < Mini) ? Min: Mini ; Max = (Max > Maxi) ? Max: Maxi ; Delete View[PostProcessing.NbViews-1]; Delete View[PostProcessing.NbViews-1]; EndFor For i In {0:PostProcessing.NbViews-1} View[i].RangeType = 2 ; // Value scale range type (1=default, 2=custom, 3=per time step) View[i].CustomMin = Min ; View[i].CustomMax = Max ; EndFor //======================================== Regards, Ruth On 06/10/10 03:22, Rafael Cortes wrote:
-- Dr. Ir. Ruth V. Sabariego University of Liege, Dept. of Electrical Engineering & Computer Science, Applied & Computational Electromagnetics (ACE), phone: +32-4-3663737 - fax: +32-4-3662910 - http://ace.montefiore.ulg.ac.be/ |
_______________________________________________ gmsh mailing list [email protected] http://www.geuz.org/mailman/listinfo/gmsh
