AnsweredAssumed Answered

Is there a way to fix a broken data source on a route event layer?

Question asked by dhouseknecht on Jan 16, 2015
Latest reply on Feb 6, 2015 by mstead

So I've been trying to find a way to fix a broken data source on a route event layer within an mxd using python.  Everything I've tried doesn't seem to work.  The normal code using findAndReplaceWorkspacePath seems to work on everything but event layers.  I can recreate the event layer and import symbology from the broken layer but when I try to copy and paste parameters in the label manager, I can't copy from the broken layer because it does not show up in the layer classes list.  So...instead of create new, copy symbology, copy labeling parameters (which I can't do anyways), it would be nice if I could manipulate just the datasource via python.

 

Can anyone point me in the right direction?

 

Thanks in advance!

Outcomes