The building on the left was created by me in other 3d software. I made a mistake when applying the rule. The upward axis is not the axis in cityengine. The building on the right is the rule applied after the shape I created in cityengine. It is correct. , I have a lot of boxes that need to apply the same rules, I want to know how to change the axis of the left floor to make it correct.
You could try alignScopeToAxes(y) to make sure the scope's y direction matches world.y.