Patrick, >From the code it looks like your slider should be attached to a variable named "y" and the output to your destination folder (on your D:\ drive in a folder named GH_Animation) should be a .bmp.
Is that what you have for a setup? -taz On May 6, 11:42 am, Patrick <pbed...@gmail.com> wrote: > He guys > > for animation purposes I tried out a small VB script from Damien > > Dim obj As IRhinoBrepObject = doc.AddBrepObject(x) > doc.Regen() > > Dim filename As String = "D:\GH_Animation\frame" & Chr(34) & y & > Chr(34) & ".bmp" > > app.RunScript("-_Render") > app.RunScript("-_SaveRenderWindowAs "& Chr(34) & filename & Chr > (34) ) > app.RunScript("-_CloseRenderWindow") > > doc.DeleteObject(New MRhinoObjRef(obj), True, True) > > I made it that Rhino is obviously rendering all images choosen from an > animated slider connected to the component. It shows me "Image > successfully saved as D:\GH_Animation\frame"4".jpg" in the command > line but the destination folder remains empty! > > Can you help Damien?