How to bake using the C# Grasshopper API?

I’m developing a plugin and I would like to automatically bake geometry generated by Grasshopper so it can be sent to a Unity application.

Sadly I can’t figure out how to use GH_BakeUtilityBakeObjects correctly.

The documentation is not helpful and if someone could provide an example or help in any other way I would greatly appreciate it.

A generic simple case here

1 Like