Arcmap 10.7 Arguments Question

341
1
03-15-2022 12:13 PM
Labels (1)
GIS_Fox
Occasional Contributor III

Hello,

Taking a sidestep from error or dev questions, I was curious if there were any resources or documentation available to better understand the function and code of "arguments" in arcmap. eg, I know what an "invalid argument" error is and looks like, but when the error does not show I want to learn how a valid argument works and if is there anything I can do to avoid causing any invalid system processes as projects become larger or more complex?

Any help or ideas are greatly appreciated,

God bless,

 

 

Jansen Lyons - Records and GIS Section - Public Works - City of Rio Rancho, NM
0 Kudos
1 Reply
JeffHouser
Occasional Contributor

Have you tried to bracket your program or specific code segments with Try...Except raise statements?

I have not used "Try...Except", but there are many examples online.  In larger, more complex scripts, Python's sys and traceback modules can be used together to isolate the exact location and cause of the error, identifying the cause of an error more accurately and saving valuable debugging time.