apo 204 post(s) |
In M9, that I assume you are using based on your previous questions, the geomrotate function allows you to inject a rotation center which might be the centroid of the whole grid. Therefore the query is rather simple VALUE @ROTATIONCENTERX FLOAT64X2 = ( SELECT GeomCenter(GeomConvexHull(GeomMergePoints([Geom]), TRUE, 0),0) FROM [Drawing] ); SELECT [mfd_id], GeomRotate([Geom], @ROTATIONCENTERX, -60) INTO [New Drawing 2] FROM [Drawing]; Hope it helps
|