Partial flattening of electrical route

I have the need to flatten an electrical route with several connectors. I am familiar with the standard methods of full flattening.

Does any one know of a way to flatten just part of the route? manual method is also ok. ofcourse I need to maintain the length of the folded cable.

Eyal

SolidworksRouting