title: List Map Layers names with geometry types
body: <p>I am trying to write a Python Tool that shows the names of all layers with their geometry types, but when I run my code it shows all layers as Polygon only. Can someone point out where I am going wrong? I am a newbie.</p>
  
  <p>Here is my code so far:</p>
  
  <pre><code>import arcpy.mapping as mapping
  mxd = mapping.MapDocument ("CURRENT")
  layers = mapping.ListLayers(mxd)
  inFC = arcpy.GetParameterAsText(0)
  outFC = arcpy.GetParameterAsText(1)
  desc = arcpy.Describe("C:/Program Files(x86)/ArcGIS/Desktop10.4/Reference Systems/utm.shp")
  type = desc.shapeType
  for lyr in layers:
      print lyr.name +" " + type
  </code></pre>