Layer and Category

Just a simple script in Ghpython. Not sure why some letters are missing. It works perfectly fine on a regular python IDE, meaning the list ‘result’ display all the characters.

Probably an issue with the access type in your Python component. I think you kept the default “item access” for both inputs, so the component is running once for each item in your lists of strings. For example with the first items, zip in line 3 will get "Mullions", "CW FRAMES" as inputs, and iterate on these character by character, stopping when at the end of the shortest one.

You’ll need to switch to “List access” to get your expected result (right-click on the inputs). The output will also directly be a list of strings, rather than a tree of chars, and you won’t need the text join operation.

1 Like