I have a code almost finished that is looking for the intersection of a sloped roof and a family.
With intersect all i found the Z-values shown in List.MinimumItem. The last step is to assign this height to the family instance parameter, so you wil get a stepped result. This must be possible i think?
So it will give this as a result (green is the sloped roof):