Levels Syntax in CodeBlock

Hi All;

Quick question… How is the syntax for levels in the CodeBlock node?

Thanks in advance.

1 Like

Hi, the level syntax is as follows:

List.Count(lst@L1) or List.Count(lst@@L1) if you want to keep list structure.

It was List.Count(lst@-1) before: https://github.com/DynamoDS/Dynamo/pull/7452

2 Likes

Thanks a lot!

@jostein_olsen,

Hello.

I’m trying with Dynamo 1.3.0 but it doesn’t work. Any suggestions?

Regards,

Have you tried right click and node to code to see what the level activated node is converted to?

2 Likes

@Einar_Raknes,

Thanks.