huangs3

ArcGIS 9.2: can I let a Python script use the work space of the current ArcMap file?

Discussion created by huangs3 on Dec 7, 2010
Latest reply on Apr 17, 2012 by bruce.nielsen
Hi Everybody:

    I am writing a python script to perform data validation for data editor using ArcMap, and want to make it into a tool in ArcToolbox.
    If the tool is executed from ArcMap with a MXD file open, is it possible to let it detect the active data connection in the MXD and directly use it to retrieve data?
    Thank you.

Outcomes