You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I like the idea; I think it's important to have a way to not clutter up your node groups.
I think the trouble is relying solely on the name to tell if a node tree is already in the scene. Let's say we've got a tree "Geometry Nodes" doing x that we convert to a Python add-on. But if a user has a different tree "Geometry Nodes" doing y already in their project before running the add-on, then the add-on won't generate the intended x tree. There'd need to be a check to compare the nodes of the x group with the y.
At some point I'd like to have that node tree comparing function anyways; it'd certainly make testing NodeToPython a lot easier and more robust. Can't say I've looked into it too much yet, but if anyone knows a quick way I'm open to implementing this.
In absence of that comparison function, I'm open to some sort of "Try to reuse node groups" checkbox you could set for the generated add-on's operator, which would do just the name check.
Something like this I think.
The text was updated successfully, but these errors were encountered: