Give the new FlattenLayout command a try (work in progress detailed in the post here). You might find it to be helpful, but please leave feedback so that we can give you a final version that meets your needs.
Any feedback will be very helpful to us.
Bill Cook
McNeel Development Team