[INDENT]#set fc to a stored layer extlyrDESC = gp.describe(fc) xmin = extlyrDESC.Extent.XMin ymin = extlyrDESC.Extent.YMin xmax = extlyrDESC.Extent.XMax ymax = extlyrDESC.Extent.YMax ### sets the actual extent of the Geoprocessor object strExt = str("%f " % xmin + "%f " % ymin + "%f " % xmax + "%f" % ymax) gp.Extent = strExt[/INDENT]
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.