How to get rid of null values / how to get correct indices

Hello everyone,

I am trying to get the correct indices to use the node List.Insert.
The problem is that i keep getting null values instead of empty lists / nothing at all, and i can’t get rid of those null values. And because of these null values my list.insert node doesnt work.

Thanks in advance!
Daan

Hi Daan,

I have some questions about what you are trying to do.
Do you really need this overly complicated List structure?
What is the end goal you are trying to do? What is the Next step?

The List.AllIndicesOf will not work on this list structure and will always return Nulls.

Hi @Joelmick,

I have Blockreferences in specific layers, when i create these surfaces and later on Solids i want to export these solids into the same Civil3D layer.

Can you share your graph and a test file so I can see all the steps?

I have already made some edits bull i’ll post my most recent version i have so far

HI-C-Markeringen_Overzicht_v001.dwg (613.6 KB)
SurfaceDifferenceWithFilter2.dyn (62.2 KB)