Truely thanx Pat, Iv already figured out, at least the vb componet is
no longer red...this is what Iv written

Dim obj As IRhinoBrepObject = doc.AddBrepObject(Geometry)
    doc.Regen()


    Dim filename As String = "D:\GH_Animation" & slider & ".jpg"


    app.RunScript("-_Render")
    app.RunScript("-_SaveRenderWindowAs " & filename)
    app.RunScript("-_CloseRenderWindow")


    doc.DeleteObject(New MRhinoObjRef(obj), True, True)


then I wrote a defination as the same as your picture, the F(x) is
orange, what did you put in the F input parameter?How to make the
defination work?

Reply via email to