appendSceneContent does not merge plugins

Hi,

I use the Python access to VRay scene and I try to override the animation of a light.
With vray.utils.appendSceneContent, I include


[/HR]// Frame at time 2

LightRectangle light1 {
transform=interpolate((1, TransformHex(“04AA7F3F00000000D2C651BD000000000000803F00000000D2C6513D0000000004AA7F3F000000006C9F8EC70C54AE3F091F4AB4E4F1FB3FDE205A2BDADCF5BF”)));
}

// Frame at time 3

LightRectangle light1 {
transform=interpolate((2, TransformHex(“D8667B3F00000000A43641BE000000000000803F00000000A436413E00000000D8667B3F00000000B5AED172A087CC3F091F4AB4E4F1FB3FDE205A2BDADCF5BF”)));
}


[/HR]to


[/HR]LightRectangle light1 {
enabled=1;
transform=TransformHex(“227603BE00000000B1E17DBF000000000000803F00000000B1E17D3F00000000227603BE0000000000000000942C0440000000C0E4F1FB3F00000060DADCF5BF”);
color=Color(1, 0, 0.9019608);
}


[/HR]but I get


[/HR]LightRectangle light1 {
enabled=1;
transform=TransformHex(“227603BE00000000B1E17DBF000000000000803F00000000B1E17D3F00000000227603BE0000000000000000942C0440000000C0E4F1FB3F00000060DADCF5BF”);
color=Color(1, 0, 0.9019608);
}

LightRectangle light1 {
}

// Frame at time 2

LightRectangle light1 {
transform=interpolate(
    (1, TransformHex(“04AA7F3F00000000D2C651BD000000000000803F00000000D2C6513D0000000004AA7F3F000000006C9F8EC70C54AE3F091F4AB4E4F1FB3FDE205A2BDADCF5BF”))
);
}

// Frame at time 3

LightRectangle light1 {
transform=interpolate(
    (2, TransformHex(“D8667B3F00000000A43641BE000000000000803F00000000A436413E00000000D8667B3F00000000B5AED172A087CC3F091F4AB4E4F1FB3FDE205A2BDADCF5BF”))
);
}


[/HR]
Which makes two different LightRectangle, is there a way to merge correctly a scene to another ?

Can you explain a bit more what are you trying to do and what’s in your post-translate python script?