|
It's pretty easily done using the Analyzer object: 'VBScript Sub Main Set drw = Document.ComponentSet("Drawing") Set anl = Document.NewAnalyzer() anl.Decompose drw, drw.ObjectSet End Sub The Geom object also has a method named Decompose, but it's lower-level. I guess you can do this using a query as well. Alternatively, you could create a map with a dummy layer (some kind of the world map is useful), zoom somewhere where the drawing you'd like to transform wouldn't be visible, drop the drawing into the map (no rendering, as long as its bounding box does not intersect with the current bounds of the window), maybe turn the layer for the drawing off, then do the transform you want without going through the re-rendering.
|