Questions tagged [result-object]

Use this tag when asking about the Result object of ArcPy

Filter by
Sorted by
Tagged with
1 vote
1 answer
76 views

ArcPy - Select by Location and Copy Features - Error 000732: Invalid Features

I've been reading through some of the other answers but I haven't found a solution to my problem yet. I'm working with ArcMap in Python 2.7 in a standalone script. I'm trying to select some features ...
user avatar
2 votes
1 answer
256 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. # ...
user avatar
  • 63.9k
1 vote
1 answer
98 views

Arcpy Result object - status Waiting, Cancelling, etc?

This is a question similar to Using ArcPy Result object associated with Currently Running Script. I'm curious about how result objects in arcpy can have certain statuses that indicate a geoprocess ...
user avatar
20 votes
3 answers
10k 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, ...
user avatar
  • 8,926
2 votes
2 answers
388 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 ...
user avatar