Lists-Logic

Hello.
I was able to achieve the desired process with the following, but is there any way to make it simpler?

Thank you in advance.

Lists-Logic.dyn (32.4 KB)

welcome to the forum @111205 (Gonta)
It depends, on what you have in mind
if you want a simpler list, use the flatten node,
If you want a simpler process??
You have to tell us a bit more about what you want to achieve.

1 Like

Thank you for contacting us. @Marcel_Rijsmus San
Sorry for the lack of explanation.

What I am trying to do is to group curves that are in random order with each other in contact.
I am trying to find a better way to do this, but it is still incomplete. The current test data is attached.
I would appreciate any advice you can give me.

Thank you in advance.


Lists-Logic_2.dyn (65.2 KB)

List-Logic_Test.rvt (352 KB)

@111205 try Group Curves node from archilab package.

@Elie.Trad san

Thank you for your comment.
Group Curves in archilab is very useful.
In this case, the edges of the curves are not in contact with each other, so we cannot use the curves as they are unless we devise a way to do so.

Thank you very much.

Hi @111205 you could also try line merge from spring

1 Like

Thank you for your comment. @sovitek San
I tried Spring’s [ꟿ LineLoop.Merge] but could not group them well.

The latest Dynamo we are testing is attached for reference.

Thank you very much.


Lists-Logic_3.dyn (74.7 KB)

probably im wrong but seems it works ;), try to hide all your preview except the last…not at dyn right now…i tjeck it later :wink:

1 Like

Curve,IsClosed should give a TRUE value if it works

1 Like

Check this out. A slight modification to the code posted here

grpLins.dyn (7.6 KB)

Note: Feed a flattened list of curves to the function

3 Likes

@Vikram_Subbaiah …thats great :wink: thanks

1 Like

@Vikram_Subbaiah San
Sorry for the delay in getting back to you.
It worked fine! Thank you!

I have been helped before. Thank you again.
Thank you also to everyone who commented.

1 Like