Tag Info

New answers tagged

0

From an answer to another question How to programmatically check if the number of shapes = number of table records? I think you should try running the Get Count (Data Management) tool on your shapefile and be open to the possibility that your shapefile may have a different number of geometries (in *.shp) and attribute rows (in *.dbf).


2

Yes, .pyt toolboxes work just as well as .tbx toolboxes. Be aware that parameter mismatches will cause the HRESULT E_FAIL message instead of something meaningful being returned (that's what was throwing me off when a simple toolbox worked, but my .pyt would not).



Top 50 recent answers are included