GH_BakeUtility
A utility class for baking. We heavily recommend you use this for any baking, as it handles invalid objects correctly.
Constructors
Properties
Methods
BakeObject
#Try and bake a single object.
Parameters:
| obj (object) | Object to bake, must at least implement IGH_BakeAwareData. |
| att (ObjectAttributes) | Object attributes. |
| doc (RhinoDoc) |
Returns: True if object was baked.
BakeObjects
#Bake a bunch of objects.
Parameters:
| objects (IEnumerable) | Objects to bake. |
| att (ObjectAttributes) | Attributes. |
| doc (RhinoDoc) | Document. |
Returns: Number of successful bake operations.