Lacing on replacing item on index

Nick,
Is there any way to do this with a list of lists? I am having trouble doing this with X number conduit runs. Thanks!

You could modify the code to work with lists of lists or you could wrap it in a custom node and use lacing.

Im afraid I dont know how to do either one of those things. If I wanted to create a custom node and use lacing would I just drop that pytho script node into the custom node environment and then create the same inputs and outputs? Thanks

Yup. That’s all it is.

Like this?

Yup. Now you can use lacing or list levels with the appropriate list structure to run the node on multiple lists.

1 Like

Thanks @Nick_Boyts, this little bit of Python is exactly what I need! Ever more reason to get my head around writing them myself! Cheers.