@AndyPayne
There appears to be something odd going on with the new bake component. If I use a true/false button input and set the bake component’s mode to update, as soon as the value drops to a false, the baked geometry is removed from the document again.
If, Instead, I use the button that’s on the component, it works as expected. But this does mean I cannot feed-in any true/false value from my script to activate the baking for me. If Instead I supply a constant true value, the component keeps computing and bogs my system down.
@Kike Thanks I see now, I didn’t catch that False values Unbaked content.
Maybe the Bake input should get a tooltip like some other components have for integer inputs (e.g. offset curve):
Is it just me or did the update function change in the latest WIP (8.0.23234.12305, 2023-08-22)? I have been having issues with the bake component not updating my geometry, even though it used to work on a test script with a circle. If I remove the baked layer, it bakes the current state just fine. But, as you can see, both an update triggered through the component’s button or with a component pass-through results in the geometry not updating.
It appears that I need to unbake the content, rather than update it. This morning, this test script worked just fine prior to updating the WIP, but now it doesn’t. As you can see, I need to have a True input in order for the circle to remain.
Also, the same logic that helps me update my circle does not work with the script I am building:
So for the moment, I decided to use the workaround to delete all objects from the layer prior to baking and instead use the Insert option in the bake component. That does the trick for me. Downside is that Human’s Delete on Layer component does not delete objects on a locked layer (so then the number of curves add up quickly).