How do I access the results of a trace geometric network tool in a python addin?

المشرف العام

Administrator
طاقم الإدارة
I'm attempting to write a python addin to ArcGIS that will carry out numerous traces on a geometric network using user specified flags/barriers.

The first trace works fine and I'm able to access the results of the trace inside the script and export the selected (affected) network to a new feature class.

However, despite there being a selection on the network after a second trace, the same syntax exports the entire network rather than just the selection.

Can anybody shed any light?



أكثر...
 
أعلى