if gp.Exists(CheckoutFolder + "\\" + CheckoutDB): st.Report("There is already a Signs Checkout Geodatabase. Perhaps you need to Check in?") raise Exception, "Checkout Geodatabase already exists." st.Report("Creating new Checkout Geodatabase...") gp.CreatePersonalGDB_management(CheckoutFolder, CheckoutDB) st.Report("Checking Out Database...") gp.Workspace = PubWorksSDE print str(gp.Workspace) gp.CreateReplica_management(CheckoutData, "CHECK_OUT", CheckoutFolder + "\\" + CheckoutDB, SignsCheckoutName) st.gpReport()
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.