How to delete midpoint or equal length relation in API?

I am writing a macro to split all arc segments in a sketch in two.

Doing it manually, there is a popup stating:

"This segment has a midpoint or equal length relation. Splitting the segment will delete the relation. Do you want to continue?"

However, when I try to use VBA to split the segments, nothing happens. I suspect it is because of this popup.

How do I work around this so everything can be done in the macro?

SolidworksApi macros