Select to view content in your preferred language

How do i access arcobjects with python in arcgis desktop 10.5.1

1305
3
04-20-2018 11:16 AM
KevinWoosley
New Contributor

I'm writing a python addin that will require snapping to a specified feature class. The snapping is used to select a segment of a polyline or polygon feature class and return the segments information. Without using the vba environment, is there a way to develop this in python using arcobjects? If so, how do I access arcobjects?

0 Kudos
3 Replies
DanPatterson_Retired
MVP Emeritus

Whether any apply, there are a number of web posts... for example

https://tereshenkov.wordpress.com/2016/01/16/accessing-arcobjects-in-python/

0 Kudos
KevinWoosley
New Contributor

The document has great information except it is dated. The snippets.py has not been updated since and several functions are inoperable as a result. Is there anything with updates to snippets that work with Desktop 10.5 or 10.6?

0 Kudos
DanPatterson_Retired
MVP Emeritus

don't know of any other sources, perhaps contact the author directly via his blog.  There isn't a lot of demand of arcobjects via python... not even on the code sharing site.... http://codesharing.arcgis.com/

0 Kudos