the standard method requires to run arcpy script in commande 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 gimme 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 commande line console ?
so any way to run an Arcpy script using Arcobjects 10 or Arcgis Engine 10 will be very welcome.