title: How do you select vertices in a maya python ls command?
body: <p>When using maya's ls command when I'm selecting vertices and I want a list of the vertices I'm selecting, how can I use the type option so that I only get the vertices of a mesh?</p>
  
  <p>Something like:</p>
  
  <pre><code>import pymel.core as pm
  verts = pm.ls(sl=True, fl=True, type=[vertex? polymeshVtx?])
  </code></pre>