title: Maya Python: Change selected menuItem in an optionMenu
body: <p>I am trying to figure out how to change the menuItem selection in an optionMenu but am unable to figure it out.</p>
  
  <pre><code>mymenu = cmds.optionMenu(label ='select type', cc=selectTypeCallback)
  cmds.menuItem(parent=mymenu, label='selection1')
  cmds.menuItem(parent=mymenu, label='selection2')
  </code></pre>
  
  <p>Now how do I call call mymenu again and check the current selected menuItem to the one i choose?</p>