Skip to main content

Questions tagged [result-object]

Use this tag when asking about the Result object of ArcPy

Filter by
Sorted by
Tagged with
20 votes
3 answers
12k views

Casting ArcPy result object from arcpy.GetCount_management() as integer instead?

I am using ArcMap 10.1. I am trying to get a number by counting how many points are in a shapefile. And this works, except I then am running into trouble using that number somewhere else. Eventually, ...
Erica's user avatar
  • 8,982
2 votes
2 answers
434 views

Using ArcPy Result object associated with Currently Running Script

We are at the end of a Python script using ArcPy. We can crawl around ArcPy to get information, but is there any way to get a result object for our currently running script? My motivation is to use ...
Michael Jackson's user avatar
2 votes
1 answer
356 views

Predicting nature of Result object returned by using ArcGIS geoprocessing tool in ArcPy?

In the Code Sample from the ArcGIS Pro help for the ArcPy class named Geometry there is something that catches my attention: # Run the Copy Features tool, setting the output to the geometry object. # ...
PolyGeo's user avatar
  • 65.2k