Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • Thanks, that seems to have worked, I have run into another problem thought. I dont know if its related "Runtime error <type 'exceptions.AttributeError'>: LayerObject: Get attribute dataSource does not exist". Any idea? Commented Mar 28, 2014 at 12:49
  • Oh never mind I fixed it by adding "if lyr.supports("DATASOURCE"):" Commented Mar 28, 2014 at 13:07