Create separate floors from single floor with multiple curves

Hi
I have made this workflow to extract multiple poly-curves from a floor , and make separate floors. I am able to make floors. But I want to delete the original floor. As soon as I add delete element node and connect to selected node… error occurs. Probably it deletes the original floor before making new floors. Anyways to delay the delete?

1 Like

Try this: Wire your original floor into a list.create node as the first input, and your new floors as the second input. Then use a List.GetFirstItem node to pull the original floor out of your list. Then wire that into the Element.Delete node.

What this does is force the new items to be created and passed into the list before the old floor is pulled out, delaying the processing of the element.delete node upstream until after the new ones are made.

1 Like

Wow… that is simple enough.:grinning:

1 Like