I’m using Elefront a lot in my projects. I would split the objects in multiple lists or trees according to bake names. Use not just one Elefront bake component but a few. You will have to use separate buttons to bake geometry.
Thanks for your response.
My intent is a Tool for Grasshopper Player. So every time, there might be choosen different Lines - just the ones which were changed last.
I included my files to show my intent.
Thats why I would need something to loop through the names of my objects (curves) to give every bake object an individual bakename.
You can create your own delete tool with a simple python script and I think you could use Object Names to do this. Not sure how you could select objects based on User Attributes.
Sounds like you got your solution! But, if there’s interest in trying to figure out how to do this with Elefront, I’m curious to understand a bit better what you’re trying to do.
It seems you want to bake some geometry that has the same bakename, but without losing the old geometry.
The way I would usually approach something like that, if I wanted to “replace” a subset of items that share a bakename, is:
I would use Reference by BakeName to bring the geometry in
Create some logic to separate the items you want to keep, and items you want to modify
Do whatever modifications you want
Merge the two streams back together, going into the Bake Component
Hit “Bake”, and then you will have both the new items, and the old items get “rebaked” at the same time.
Would that work, or are you trying to do something different?
Think you got it pretty much what my intention is.
I created a tool for GHPlayer to create, for example some new geometry with bakename x using a source geometry.
Now some parts of the source geometry have changed and the changed part is now chosen to be adapted by my tool. But if the partial geometry receives the same bakename x, all of the not chosen geometry is lost.
So your plan should work pretty good with using just elefront! Will try on Monday. Sounds promising to me
There are a number of ways to update objects individually with there ID in Rhino 8 Grasshopper. C what is the workflow you are looking for specifically?
Would like to slowly update geometry in my model that currently all have the same bake name.
So, I would like to slowly update things & have the GUID number as the bake name. So, every time I update a small part of the geometry it overwrites just those elements selected through a script to be updated.
The replace functions (Content Cache) is a new component that works with the real Object ID in Rhino and Grasshopper to accomplish the same thing. Other things like Cache Name are also possible, but are not required: