title: How are attributes accessed in PyMEL?
body: <p>There are multiple ways to access attributes of a <code>PyNode</code> such as <code>Transform</code>, which has the attributes <code>translation</code>, <code>rotation</code> and so on.</p>
  
  <pre class="lang-py prettyprint-override"><code>import pymel.core as pm
  
  cube = pm.polyCube()[0]
  
  cube.translationX.set(1)
  cube.translation.translationX.set(2)
  cube.tx.set(3)
  cube.t.tx.set(4)
  
  # and more
  </code></pre>
  
  <p>What I don't understand is how the attributes are found because I cannot find any documentation that lists the attributes? Does <code>Transform</code> have all those attributes where each points at the corresponding, underlying attribute of the DAG node? Where does the mapping happen so the right attribute is found?</p>