Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I would like to add a specific table or shape file to my TOC via the ArcMap python window from the SDE connection I'm currently connected to. Since I'm already connected to the SDE connection in ArcMap I'm assuming I don't have to restate the user name and password in the python script right? How would I going about doing this?

share|improve this question
add comment

1 Answer 1

Welcome to the site! You should check out the faq for info on how to best get your questions answered. Searching for keywords related to your question before asking might point you to the answer you're looking for.

On to your question:

If you set your workspace to your SDE connection file you can access features within. This post covers the process well.

share|improve this answer
    
Wow this is great thanks @mdenedetti –  lemuel Nov 15 '12 at 19:35
    
@user12325, can I ask you how did you solve? I was not able to find any answer to your question.. thanks. –  Annalisa Minelli Mar 1 '13 at 16:22
    
@AnnalisaMinelli the feedback provided by mdenedetti helped me save my issue, pretty much just make a connection to your data source and then connect to the table or layer of interest. –  lemuel Mar 25 '13 at 18:38
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.