I am using Image to display some data and have enabled the recording facility
so that a (higher resolution) copy of the screen output is saved into a tiff
file (recordEnable selected in the Image module configuration, Value set to 1
). When I save the net and reload it, the recordEnable input of Image is
unselected and the Value set to 0. I suspect this is a bug, not a feature.
I would like to fix it for now by changing the corresponding values of the
saved net file in a text editor before I load it, but don't understand how to
do it.
Here are some excerpts:
<snip>
main_Receiver_81_out_1 = NULL;
macro Image(
id,
object,
where,
useVector,
to,
from,
width,
resolution,
aspect,
up,
viewAngle,
perspective,
options,
buttonState = 1,
buttonUpApprox = "none",
buttonDownApprox = "none",
buttonUpDensity = 1,
buttonDownDensity = 1,
renderMode = 0,
defaultCamera,
reset,
backgroundColor,
throttle,
RECenable = 0,
RECfile,
RECformat,
<snap>
setting RECenable to 1 here does not help.
further down:
<snip>
ImageAspect =
Inquire(
camera,
"camera aspect") [instance: 7, cache: 1];
RECaspect =
Switch(
RECaspectNull,
RECaspect,
ImageAspect) [instance: 11, cache: 1];
switchRECenable = Compute(
"$0 == 0 ? 1 : (($2 == $3) && ($4 == $5)) ? ($1 == 1 ? 2 : 3) : 4",
RECenable,
switchRenderMode,
RECresolution,
ImageResolution,
RECaspect,
ImageAspect) [instance: 4, cache: 1];
NoRECobject, RECNoRerenderObject, RECNoRerHW, RECRerenderObject =
Route(switchRECenable, annoted_object);
Display(
NoRECobject,
camera,
<snap>
What would I need to do here to force RECenable?
Still further down:
<snip>
}
main_Image_3_in_1 = "Image_3";
main_Image_3_in_3 = "X16,,AFM elevation";
main_Image_3_in_4 = 1;
main_Image_3_in_5 = [5797 4590 -152];
main_Image_3_in_6 = [17262 -23725 12689];
main_Image_3_in_7 = NULL;
main_Image_3_in_8 = 1000;
main_Image_3_in_9 = 0.501;
main_Image_3_in_10 = [-0.17957 0.34278 0.92209];
main_Image_3_in_11 = 27.375;
main_Image_3_in_12 = 1;
main_Image_3_in_13 = NULL;
main_Image_3_in_14 = 1;
main_Image_3_in_15 = NULL;
main_Image_3_in_16 = NULL;
main_Image_3_in_17 = NULL;
main_Image_3_in_18 = NULL;
main_Image_3_in_19 = 0;
main_Image_3_in_22 = [0.01 0.01 0.2];
main_Image_3_in_23 = NULL;
main_Image_3_in_26 = "tiff gamma=1";
main_Image_3_in_27 = 2000;
main_Image_3_in_28 = 0.466667;
main_Image_3_in_29 = 1;
main_Image_3_in_30 = NULL;
<snap>
The entry 24, which I think would be the corresponding flag,
is missing.
What can I do?
Thanks for any hints,
Wolfgang
--
Dr. Wolfgang Braun
Paul-Drude Institute
for Solid State Electronics
Hausvogteiplatz 5-7
D-10117 Berlin
office: +49-(0)30-20377-366
bessy: +49-(0)30-6392-3436
***new!*************************
mobile: +49-(0)160-99882210
***new!*************************
fax : +49-(0)30-20377-201