This is a topic that has come up a few times. But I had a thought on it and figured I'd float it out and see if anything comes back.
There has always been an issue with the whole procedural modelling approach that if you change a piece of your model at the top of a network it can have disasterous results further down. This is usually due to point and primitive numbers changing and therefore selections no longer being valid.
In the past the idea of using ids that don't change has been discussed but nothing yet has come of it. So I started thinking maybe there is a much simpler way to deal with it that doesn't effect the way anything currently works. I've no idea if this would work (well I have some idea, but it's tricky to test without doing it) How about having a option that would just renumber existing selection groups based on the way the input geometry has changed?
So at any point in time if you decide that something you are about to do is going to change the point/prim count then you choose to have it's impact ripple through the whole network. So for example if you have a model with 10 prims in it and a group sop that selects prims 5-9
model
|
group prims 5-9
and then you add a delete sop in before the group sop that deletes prims 0-3
model
|
delete prims 0-3
|
group prims 5-9
rather than the group sop now being broken the renumbering process would automatically modify your group selection to be 1-4.
model
|
delete prims 0-3
|
group prims 1-4
This effect of a ripple selection update could perhaps be a toggle on each sop that would allow the auto renumbering or ignore it.
Obviously as with all solution for this problem it won't work in all cases, but would it work in enough to make it useful?
If it would work it could even be scripted. Which if I have time, ( and I don't at the moment) I'll try out and stick it up on exchange.
