As well as changing the fragment for each different layer, you will also need ti rest the A & B values.
Maybe something like …
in the 2D script...
IF layer1=1 THEN
FRAGMENT2 1,0
ENDIF
IF layer1=21 THEN
FRAGMENT2 2,0
ENDIF
In the parameter script …
IF layer1=1 THEN
A= 0.100
B=0.-200
PARAMETERS A=A, B=B
ENDIF
IF layer1=21 THEN
A= 0.300
B=0.-800
PARAMETERS A=A, B=B
ENDIF
Barry.
One of the forum moderators.
Versions 6.5 to 25
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision 3510 - i7 6820HQ @ 2.70GHz, 16GB RAM, AMD FirePro W5130M, Windows 10