Sorry, now I have this part working I have another question:
I am using a primitivewrangle with the following VEX to delete the constraints, which now works.
removeprim(0, @primnum, 1);
But what I need to do is only delete a specific joint. I'm not sure if you can search through the primitives by name in VEX or if I need to create a group for these joints somewhere else.
My scene consists of a ragdoll with a Hat and I am trying to delete the constraint to the hat only. At the moment I am deleting all constraints.
Thanks for any help