I have a code, that splits elements according to their type. When I have an empty list, the PolyCurve.ByJoinedCurves and Surface.ByPatch make Dynamo collapse.
Is there a way, that when the list is empty, the code stops at that branch, or solving that the following nodes work with empty lists?
I attach a picture with the part of the code. “Figure of only rectangle angles” is the node that is currently empty. And warnings appear on the two following.Also, goes the error that appears that Dynamo crashed.