Grasshopper

algorithmic modeling for Rhino

 
Hello..... 
I need help ...please.

I tried two methods to make Polylinecurve but failed...
1.
Dim p0 As New Point3d(0, 0, 0)         
Dim p1 As New Point3d(0, 0, 100)
Dim p2 As New Point3d(0, 100, 100)
Dim temPolyCrv As New PolylineCurve() ==> failed here.
temPolyCrv.SetStartPoint(p0)
temPolyCrv.SetPoint(1, p1)
 
2.
Dim pts As New List(Of Point3d) 

Dim p0 As New Point3d(0, 0, 0)         
Dim p1 As New Point3d(0, 0, 100)         
Dim p2 As New Point3d(0, 100, 100)
 
pts.add(p0)
pts.add(p1)
pts.add(p2)
Dim temPolyCrv As New PolylineCurve(pts)  ==> failed here.

And My visual Studio Error Message is,
" Dll Not Found Exception...."
But 
RhinoCommon dll is in the referece list correctly
and I tried both "local copy" true, and false...
 
hm.....
 
 
                

Views: 229

Replies to This Discussion

Hi Daniel,

try making a Polyline instead of a PolylineCurve. Polyline is easier to work with, and you can always convert it into a PolylineCurve later if you really want to.

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Thank you..

David...

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service