I'm splitting a simple shape in two and generating shed roofs using byHeight and a value. This works fine on the first split, however when I turn the roof on the second split using the index, the height is cut in half. Bug? Project see attachment.
Solved! Go to Solution.
I'd suggest that the yellow shape is using the scope of the original shape - try sticking in an alignScopeToGeometry before the roofShed line.
That is odd. What do you think the angle of the third split is? Maybe the bug is reverting it back to byAngle
I'd suggest that the yellow shape is using the scope of the original shape - try sticking in an alignScopeToGeometry before the roofShed line.
That does the trick, great!
Additional info: when using an angle, this problem doesn't appear. I calculated it from the B-Split and then stuck the value in the A-Split.
It is surprising how useful that function is.
There is a bug when trying to set the index when using roofShed. It's good to hear that alignScopeToGeometry() can be a workaround for this bug though.
https://community.esri.com/thread/179731?commentID=645327&et=watches.email.thread#comment-624648