mapman666

Use python to apply a definition query to an existing Layerfile.

Discussion created by mapman666 on May 15, 2012
Latest reply on May 16, 2012 by mapman666
I will start with I know nothing about python, other than I need it now.  I have created a simple model that uploads a xyz file to a sql table with a survey id, creates an event theme, saves that to a .lyr file, and applies symbology.  However, I need one more thing.

I need some python code that will allow me to apply a definition query to query a single survey id and i need to be able to make it a parameter with the model.  Can anyone help out with this?  Thanks

Attachments

Outcomes