automatically delete redundant constraints SWX 2024

Hello together,

is there any possibility to automatically delete redundant constraints in an assembly and subassembly?  Or exists any code to delete them?

Thank you Georg