Grasshopper

algorithmic modeling for Rhino

I am working with some components in which I would like to execute additional actions when the user uses the bake menu option on that component.  It seems simple, but I haven't found how that would be done yet. Is there a way to watch for the bake action to be triggered within a c# node?

Views: 276

Replies to This Discussion

I think you'll have to compile your own .GHA for this - in which case you would override the BakeGeometry method on GH_Component. The class you have access to inside a C# script component - GH_ScriptInstance - exposes some component methods for you to override - but BakeGeometry is not one of them. 

Thanks, I'll look into that, the project will get compiled eventually anyways. Seems like I can't put it off any longer now.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service