How can I separate lines, points and curves which are together using GH?

Hi everyone,

As the pic shows, I have lines, points and curves together (the numbers can be changed).
I want to use GH to separate them into three groups automatically, however, ponts and curves are different geometry types.
Any suggestions are appreciated.

pointsandlinecurves-v5.3dm (41.3 KB)

You could use Geometry Pipeline

geometry (11.2 KB)


Thank you so much, Kim!
That’s a perfect solution!
Have a nice weekend!