algorithmic modeling for Rhino
Hello everyone,
I'm writing a VB-module to export geometry to .dwg files. Everything seemed to word fine, but now I've switched computers, somehow the module doesn't seems to work anymore...
I'm running Rhino 5 WIP released 18-01-2011 and grasshopper 0.8.0004 released december 10th 2011.
This is (part of) the script I'm running:
If Activate = True Then
Dim i As Integer
Dim iCount As Integer
iCount = SrfId.Count
Dim y As Integer
Dim yCount As Integer
Dim mObjects As Guid
Dim ylist As New list (Of Integer)
For i = 0 To iCount - 1
doc.Objects.UnselectAll
yCount = SrfLines.Branch(i).Count
For y = 0 To yCount - 1
mObjects = doc.Objects.AddCurve(SrfLines(SrfId(i), y))
doc.Objects.Select(mObjects)
Next
RhinoApp.RunScript("_-export " & FilePath(i) & " _Enter", True)
RhinoApp.RunScript("_-delete", True)
Next
End If
The error I get is this:
'select' is not a member of 'rhino.docobjects.tables.objecttable'
The silly thing is that I didn't get the error on a different computer (which probably has some different versions installed...), but that I also cannot find any other way to select and export the geometry I create...
Does anybody have a good idea how to solve this problem?
Thank you very much!
Pieter Schreurs
Tags:
Welcome to
Grasshopper
© 2024 Created by Scott Davidson. Powered by