Grasshopper

algorithmic modeling for Rhino

Hello,

I have VB components which all do the same thing. I replaced them with a single cluster, in order not to repeat the same code.

Now I need to get the GH definition, since in my VB code i wrote thing like

For Each obj As IGH_DocumentObject In owner.OnPingDocument().Objects

...

'owner' is the cluster object, not the GH definition. How can i get the GH definition ?

Thanks in advance,

JL

Views: 254

Replies to This Discussion

Ok, that was a bit tricky, and I'm not sure my solution works in all cases.

Attachments:

Thank you !

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