title: How do I get list of all types in Maya's ls command?
body: <p>In Maya there is a ls command which lists all objects in a scene (or DAG). </p>
  
  <pre><code>pm.ls()
  </code></pre>
  
  <p><a href="https://help.autodesk.com/cloudhelp/2017/ENU/Maya-Tech-Docs/PyMel/generated/functions/pymel.core.general/pymel.core.general.ls.html?highlight=ls#pymel-core-general-ls" rel="nofollow noreferrer">Here is</a> reference to <code>ls</code> command.</p>
  
  <p>We can list specific type of element by passing <code>type</code> parameter. </p>
  
  <pre><code>pm.ls(type="joint")
  </code></pre>
  
  <p>Some possible types are, <em>camera</em>, <em>mesh</em>, <em>joint</em> etc.</p>
  
  <p>My question is what are all types available to ls() command? Documentation doesn't help much. Where do I find it?</p>