Grasshopper

algorithmic modeling for Rhino

Hey Guys,

How can i bake save and delete meshes in VB.

i tryed this one:



    Dim id As guid
   
    If activate Then

      id = doc.Objects.AddMesh(mesh)



      Rhino.RhinoApp.RunScript(String.Format("-_Export ", id), False)

   End If

It doden't work.

Have anybody an idea?

Regard

Henne

Views: 486

Replies to This Discussion

Ok i can select all meshes wit the function but if i want export the mesh it makes only step by step.

How can i save all meshes as one stl?

Dim att As New rhino.DocObjects.ObjectAttributes

    Dim id As guid
    att.name = name

    If activate Then

      id = doc.Objects.AddMesh(mesh)
      rhino.RhinoDoc.ActiveDoc.Objects.Select(id)
      Rhino.RhinoApp.RunScript(String.Format("-_Export ", id), False)

    End If

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service