I am having a hard time getting base geometries of all the generic models in here. For some geometries Its is indexing at the base, For others it is indexing onto different surfaces . Does anyone know how to fix this?
Instead of List.GetItemAtIndex and other such ‘pull a thing out’ processes, I usually find it best to sort the things and then get the base. Otherwise you run into the lacing and list level issues you are fighting here.
List.SortByKey is your friend. Take the Point.Z as the key, and the surfaces as the list. Make sure both inputs are @L2 and you should be able to pull the first surface out of each group.
so i did that but it starts selecting the side surfaces of these masses. I am wanting the base curves. I am unable to index in to get the base.
correction file .dyn (95.0 KB)