Dynamically Change Outputs for Explode Tree/GHPython Script

Hello,

Does anyone know if there is a way to dynamically change the number of outputs for the explode tree component? My GHPython Component is outputting a list of lists which I am converting into a tree. I am then passing it into the Explode Tree component to separate the data. See below for a screen shot of my script.

Also, here is a screenshot of my scripting within GHPython.

If there isn’t a way to do this with the explode tree component. Is there may be a way to dynamically update the number of outputs of the GHPython component?

Thank you!

not dynamic… but you can right click on the ExplodeTree and choose Match outputs

2 Likes

Thank you for that tutorial! That is helpful.

Now do you know if there is a way to dynamically change outputs using the GHPython component?

this might be helpful