Hey guys,
i'm new to JSL and would so appreciate your help with a script i'm struggling with for a while.
i wrote a script that produces multiple graphs in one scroll box.
The problem is that i have a different number of frameboxes for each graph and i can't get track of the exact number. it also changes when i change the filter bar param. therefore when i'm trying to add graphics like circle to a framebox that do not exist i receive the message "cannot find framebox..." on the embedded log.
i found a script online that looks like it solves my problem but my script goes into an infinite loop and the error message keeps showing.
the script i was trying:
haveFrameBox =1;
i=0;
while(haveFrameBox,
try(
i++;
report(gb)<<dispatch({}, "Graph builder",FrameBox(i),circle({0,0},150)) ;
,
haveFrameBox=0
)
);
I'm also having troubles with applying "size to isometric" function on each framebox with a for loop, for each i
try(Report(gb)[FrameBox(i)] << size to isometric)
but the output is just a big mess...
Any idea?