AnsweredAssumed Answered

ArcGIS 10.0 Python Connect to SDE

Question asked by jursachr_washco on Aug 28, 2015
Latest reply on Sep 1, 2015 by jursachr_washco


I am having difficulty connecting to my enterprise geodatabase and reading data.


My code below is unable to read the feature class.


myWorkspace = 'C:/xxx/Connection.sde'
# myWorkspace = 'Database Connections/Connection'


arcpy.env.workspace = myWorkspace


featureClassPath = "myGIS.DBO.myData"


print (str(arcpy.Exists(featureClassPath)));


When I log into ArcMap I usually have to click on my SDE connection before it just opens.


What am I missing?