I mean, not only to animate one slider, but, when changing several parameters at the same time: sliders, colours, text, move things ..., to be able to save every change as an image like with the "animate" command in sliders.
I suppose it is a matter of knowing what is the routine for saving Rhino´s viewport as an image and insert it in a loop to save every iteration.
you could save the viewport image using the ViewCaptureToFile command (you could call this command from a VB component, you just have to figure out how to properly increment the filename)
How are you going to change multiple parameters at the same time? If you want to animate two sliders simulataneously, why not use just a single slider to begin with? Or do you want to animate them in a non-linear fashion?
mmm, well I wasn´t thinking about sliders (at least not at the moment) but about values that come from a text file and then different variables change.
I have them within a loop in a script and I´d like to save every iteration to be able to see how the geometry is "produced".
what methods does ViewCaptureToFile? only the path?
ViewCaptureToFile allows you to specify the file name, file format, resolution (width and height) and whether or not to include certain basic objects such as the Grid and the World Axes.
In the Slider animation feature I do not use this approach. I ask the DisplayPipeline to draw itself into a memory bitmap which I then save to disk afterwards.
you have to supply the command string in the same format as you would type it by hand. Commands do not work like Functions in VB.NET. You're not allowed to use brackets for example.