Change axis

177
1
04-21-2020 02:55 AM
biaozeng
New Contributor II

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.

0 Kudos
1 Reply
CherylLau
Esri Regular Contributor

You could try alignScopeToAxes(y) to make sure the scope's y direction matches world.y.

alignScopeToAxes operation—CGA | Documentation 

0 Kudos