algorithmic modeling for Rhino
I'm trying to produce controllers for geometry (triangle polyline) with an ID (pasted in user attributes).
If there are already some controllers in the model, i define them via Dynamic pipeline node (Human plug-in), extract their IDs, sort them, add 1 to the last ID and bake a new one with a new ID.
The aim is to know the order controllers were produced in the model.
the problem is that triangles are baked twice every time. If i bake a single triangle, I've got two of them in the model.
How can it be fixed?