the standard method requires to run ArcPy script in command line, i've struggled with it to run but without a result, i can import arcpy
, set the workspace to the geodatabase path and describe the env variable using arcpy.Describe(arcpy.env.workspace).name
it gives me the geodatabase name, but when i try to get featureclasses using arcpy.ListFeatureClasses()
i get []
, i have made sure that all the environement variables in PATH and PYTHONPATH are ok .
i would like to know if there's an alternative way to run ArcPy script, like it could be run in ArcMap console, is there a way to send scripts to ArcMap console using ArcObjects, what's the difference between ArcMap console and standard command line console?
so any way to run an ArcPy script using ArcObjects 10 or Arcgis Engine 10 will be very welcome.