Some more feedback: The MaestroAPI.chm does list a MinScaleSpecified property for the DrawingLayerDefintionType.
However when running the script in the console reports a non existing attribute : AttributeError: ‘DrawingLayerDefintionType’ object has no attributes MinScaleSpecified Also when using the context menu from the python console, the MinScaleSpecified is not listed. However, when setting the MinScale property to a value other then 0, Maestro seems to include the MinScale tag by default in the XML defintion. For the MaxScale it is required to set the MaxScaleSpecified = True in order to have it saved. Luc -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Maestro-Python-api-example-script-setScaleRange-for-a-drawingLayer-tp5183707p5183732.html Sent from the MapGuide Users mailing list archive at Nabble.com. _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
