LISt and IF not working as expected

Hi,

could you please tell me, what is wrong with this IF statement?

H @adnandj ,

Yes it is very interesting but I think it solves the problem “List Create”.

Wonderful, thanks @Durmus_Cesur. Is that is mistake in Dynamo? It is really big problem.

Hi,

There is surely a solution. Did you have a chance to test in older versions? (1.3,0.9 …)
(@Kulkul, I am wondering what is your idea.)

1 Like

Hello

The reason of this behavior is :
The IF node replicates on all nodes AS THOUGH SET TO SHORTEST.

Greetings Nico

Hello ngochungwru and Adnan @adnandj

Here are some examples off the behavior off the ootb IF node.

I think the Python solution or ScopeIf+ from clockwork package is what you are looking for.
I didn’t test the ootb node ScopeIf but that one in the past causes most off the time dynamo to crash

Nico Stegeman

3 Likes

Not a bug, it’s just returning shortest lacing.
See these issues for background & solutions:
DynamoDS/Dynamo#7467
DynamoDS/Dynamo#6258
DynamoDS/Dynamo#6491

So use OOTB node ScopeIF:

4 Likes

Hi Kulkul
I stopped using the ootb node ScopeIf in the past. Because it causes dynamo to crash sometimes. I use python or the clockwork ScopeIf.
Is the ootb node recently changed and more stable?

It has nothing to do with being stable but the intent of the node… It is meant for another use than this, namely not executing up stream nodes… Failing to have completely separate tracks will cause dynamo to crash…

2 Likes

Hello Jonathan.
You’re right.
Thanks

1 Like

Hi all,

thank you for the feedback. I used Scopeif+ from Clockwork package.

Best Regards,
Adnan

2 Likes