To be clear:The Python toolbox (pyt) is a whole 'new animal', the entire toolbox is written in Python, even has a different icon in ArcToolbox.I haven't tried it out yet, I admit, but the webhelp link below is very interesting - a comparison between the 2. The way I think of it is it depends on where the customizations you made are 'hitched' to the core system software ESRI made -- so apparently the arcpy development framework has been extended to 'take over' where the system was previously hitched....and apparently with new capabilities as well (see the link). More compelling reasons for me to get on with my next upgrade, in my production mode I'll probably skip to 10.2 -- ah, but that's another story.Comparing custom and Python toolboxes Desktop » Geoprocessing » Creating toolshttp://resources.arcgis.com/en/help/main/10.1/index.html#//00150000002r000000Enjoy,Wayne
No, I think you're confusing Python toolboxes and 'regular' system toolboxes... looks like you're going for the 'embed' option, if you right-click the script tool (not the py source file), then you can 'import script', the option only available beginning at 10.1 (as I learned from Caleb today, so thanks to him).I don't have 10.1, but you say you do....and according to the documentation it's a 2 step process! (the 2nd step is clicking 'OK' from the dialog box that opens ??) Afterwards, it's another 2 step process to set a password, so I understand. I think the checkmark goes to Luke on this one.Enjoy,WayneEDIT: ...so it looks to me from your attached pics that you've already done the import?
See embedding scripts in the help.
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.