Grasshopper

algorithmic modeling for Rhino

It seems like preview function of a C# scripting component (not a custom component developed with Visual Studio) can be overridden. However, it seems like Bake is not. Am I correct? or is there a way to override Bake function from within C# scripting component?

Views: 794

Replies to This Discussion

Correct, there's no way to participate in the Bake operation of the owner script component.

You can however provide bakeable data to an output parameter, perhaps creating your own Goo if you need special baking capability.

See the attached for example. The C# component outputs circles and a special kind of goo which bakes as little solar systems.

Attachments:

thanks! that's helpful!

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