rhawk204

How to turn certain layers off in ArcGIS

Discussion created by rhawk204 on Dec 26, 2019

I am trying to create an python script that will allow me to create a map in ArcGIS with the capability to turn certain layers off. For example for electrical feeders i would like to give it 2 criteria (feeder and scale) so that only the feeder i want shows up on the screen. For this to happen i would need to open the layer properties for feeders and under definition i would need to create a definition query such as FeederID = 2050. I would also have to go to general properties and for scale range i would like to set it to "Show layer at all scales". I need to do this for additional items such as fuses, capacitors, reclosers that will also have to meet the 2 criteria. I do not know the commands for ArcGIS well enough to be able to know what the parameters are called so that i can modify them.

Hope this makes sense,  if not let me know and i will try to explain.

Thanks for any suggestions.

Outcomes