Python input warning due to list level

Hi everyone,

This python node throws a warning when I change the input (title block family type) as shown in the image below. I guess it has to do with the list levels. I cannot remove the basic list levels even after flattening it whereas in the regular family type node there is no list level.

I think, this is the line where the warning comes


Please suggest.

Type TB[0] inside codeblock to remove list levels.


I think in your case “List.FirstItem” wil also do the trick.

1 Like

Thanks @Kulkul. Forgot such simple thing. Works perfect. :smiley:

Thanks. Yes, that’s a good way too. :slight_smile: