Grasshopper

algorithmic modeling for Rhino

syntaxe problem in vb / Dim Pts As New List (of On3dPoint)

Hi,
I dont understabd what is th eproblem but :

 Dim Pts As New List (of On3dPoint)

give me an error:Type 'On3dPOint'unknow

what is the problem?

regards,

Renaud Ganière

Views: 372

Replies to This Discussion

Hi Renaud,

the new SDK in Grasshopper 0.7 is called RhinoCommon and the new point entity is now simply called Point3d.
Be aware that a points, lines, vectors, and other elementary entities are now value types (http://msdn.microsoft.com/en-us/library/aa711899%28VS.71%29.aspx).

You can still use the old SDK with the (LEGACY) Vb.Net and C# components.
I hope this helps

- Giulio
_____________________
giulio@mcneel.com
McNeel Europe, Barcelona
Thanks for the answer:)

I m also looking for creat a line between two points in vb could you help me?
Hi RG,

please have a look here:

http://www.grasshopper3d.com/forum/topics/vb-line-between-points-or...

- Giulio
_____________________
giulio@mcneel.com
McNeel Europe, Barcelona

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