AnsweredAssumed Answered

How to get objects’ global vertices related to the global scope?

Question asked by mnazemi on May 11, 2016
Latest reply on May 23, 2016 by CLau-esristaff

I am reading the segments’ information via CityEngine Python API. I have a CE model with objects having a different scope from the global scope (probably modified in the CGA file by alignScopeToAxes(y) existing command). When I use getVertices() command, it returns the local values (as appeared in the vertices box in inspector) rather than the global values. In other words, all Z values are symmetrical compared to the global Z values (for example -2.254 instead of +2.254). How can I get the vertices relative to the global coordination of the model?

I think the only way is to modify the CGA file or rotate all local coordination systems in some way.