Code Block input issue

Need to use path in a list as input for the code block. It only allows one item from the family list to pass thru.
I really need the input from here. How do I use this in my code block?

If I use a code block for input it works fine.

A Directory Path node output works too. (no not need it this way)

this is because the path in first picture is a list, use Path[0] instead of path

Thanks, watched that tutorial last week and forgot all about it. Solved.

@stephen.donahay Hi stephen ! Can you tell me who you defined inputs for the code block ??

@Ahmed_Ramy ,

it is just creating variables + strings …

1 Like