In an assembly I constrain several subassemblies (S-A) with several configurations (of different lengths), except when a change of configuration of one of the S-A changes, my constraints become deleted functions.
My S-A is necessarily another part with each configuration.
The goal is to duplicate the base assembly to have different permanent final configs (Ass. A - Ass B - Ass C ...), so I can't use the constraint array and thus check which ones I want active or not.
Do you have any solutions and/or proposals to prevent me from reactivating the constraints in the 500 assemblies?
As @Silver_Surfer says, you need a constant reference. If this is not possible on the geometry, you can add a plane or axis that is common to all configurations, which does not vary.
After that, a plane is practical to follow a change in length, you just have to link it to one end so that the stress follows even if the geometry changes (leading to a change in the number of faces and/or the id of the end face, when the quantity of holes varies with the length (like a slide, a square, etc.).