Grasshopper

algorithmic modeling for Rhino

Hi I just began learning VB. I tried the Nested Loops example in GH Primer, and it's not working for me... I checked the code and everything is the same except On3dPoint seems to be replaced by Point3D in the newer release of GH (correct me if I am wrong). Could somebody checks the code and see what I'm missing? thanks in advance.

Views: 941

Attachments:

Replies to This Discussion

I haven't checked the primer but I'm guessing that the problem is that you must right click on the Pt component and select "cross-reference".

Vincente, according to David, the Primer used old Rhino_DotNET SDK, while GH now uses RhinoCommon SDK. This is the issue.

I dont think that's the issue in this case. Have you tried what I said above?

Darn it. You were right. Thanks!

Note that Cross Reference matching is on its way out. It will no longer be possible to assign it to components come 0.9.0001 and it will only be possible to disable it if you open a file that already has it assigned. 

Grafting an input is the preferred way of doing Cross Reference matching now as it gives far more control over how the data is combined.

--

David Rutten

david@mcneel.com

Poprad, Slovakia

That's good to know.

For compatibility with future versions then, graft the 'x' input of the Pt component and flatten the 'Pt' output.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service