I came across a problem when using the latest version of elefront and would be great if I can find help here!
I am trying to bake things with bake object.
However, in the previous version, we got a define attribute component.
In the version 5.1.2 there is only elefront attribute.
I looked at lots of places, but sadly still don’t know how to use it and bake objects to certain layer.
Very much still possible! With elefront attributes component, feed the A output into the A input of the bake objects component.
To set the layer you may need to right click on the Elefront Attributes component and click “Show all parameters” then feed the layer name or name(s) into the the L input. And I believe with 5+ you have to give it the full layer path so as an example if your have sub layers you need to feed it a layer name like: My Main Layer::My Sub Layer Name I want to bake to. The :: denotes a nested/sub layer
One of the bigger changes in 5+ is the addition of pass through components so double check components in question by right clicking and showing all inputs to see what is available as many are hidden by default.
I may be missing something? I can’t seem to get this to work. Elefront is so useful to me & I would like to take advantage of the newest version. Any help appreciated.
I am trying to bake multiple grasshopper components to a specific existing Rhino Layer using the Elefront bake button. when I try to define a layer in the Elefront Attributes I am getting this error. I am new to Elefront, and I am afraid I can’t fully make sense of either of the pictures above. Or is there an alternative way to easily bake multiple components to an existing Rhino Layer.
Hi,
You are providing two branches into the component (you can see {0} and {1}), however the BakeToFile component is assuming that each branch creates its own file. Since you only gave one file path, it’s warning you to let you know this, because the way you have it set up, it would create the file once for the first branch, and then overwrite it with the second branch.
This is because if you wanted to bake multiple files at once, you would need to be careful to make sure the right objects are going into the right files. For your simple case here, you could probably flatten/shift your Geometry and Attributes, since you are only create one file.