Select to view content in your preferred language

Location Reference .NET SDK

640
1
01-23-2020 07:58 AM
KoryKarr
Emerging Contributor

I am working on a Arc Pro .NET add in that uses APR feature classes. I would like to programmatically determine if a feature class is an engineering network or derived network, and what it's related  feature class would be. i.e. this feature class is an engineering network, and its derived network is X, and vise versa.


Is this possible in the .NET SDK?  I briefly saw some documentation about determining this through arcpy. In the case that I would need to wrap an arcpy call, I assume that the arc pro instance this is running on, would need to have a valid licence for the Location Reference Extension. I ask because not all our developers have this licence.

Tags (3)
0 Kudos
1 Reply
by Anonymous User
Not applicable

Hello Kory, there currently is not a Pro API for ArcGIS for Pipeline Referencing (APR) available at this time, and it is not on the near-term roadmap.  APR aside, it is possible to call a Python script from within an add-in, and this would require that Pro is running.  A code snippet can be found here.

0 Kudos