algorithmic modeling for Rhino
Hallo strange behaviour, my Grasshopper Viewport freezes after executing this command:
If x Then
Dim tmpID As GUID
'' SectionGeom
For i As Integer = 0 To geo.Count - 1
tmpID = doc.Objects.Add(geo.item(i), objAtt)
doc.Objects.Select(tmpID)
Next
h = Rhino.Geometry.Hatch.Create(geo, 1, 0, 1)
For i As Integer = 0 To geo.count - 1
doc.Objects.addHatch(h(i), objAtt)
Next
'' 2dGeom
Rhino.RhinoDoc.ActiveDoc.Layers.SetCurrentLayerIndex(drauf, True)
Dim ID As new List(Of Guid)
For i As Integer = 0 To geo2D.Count - 1
tmpID = doc.Objects.Add(geo2D.item(i))
ID.add(tmpID)
doc.Objects.Select(tmpID)
Next
Rhino.RhinoApp.RunScript(" -_Make2d DrawingLayout=CurrentCPlane CreateHiddenLines=No _Enter ", False)
For i As Integer = 0 To ID.count - 1
doc.Objects.Delete(ID.item(i), True)
Next
'' Run Script to Bake Grasshopper Dimensions + Text
End If
Any suggestions?
Tags:
Welcome to
Grasshopper
Added by Parametric House 1 Comment 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2026 Created by Scott Davidson.
Powered by