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?

Reply via email to