<p dir="ltr">A couple of points:</p>
<p dir="ltr">- first, make sure you are using the QgsAtlasComposition which is created by the composition, rather then creating a new one.  Ie,<br>
myAtlas = QgsAtlasComposition(myComposition)</p>
<p dir="ltr">Should be:<br>
myAtlas = myComposition.atlasComposition()</p>
<p dir="ltr">Then, as Hugo mentioned, you need to activate the atlas by calling:</p>
<p dir="ltr">> I think it is myComposition.setAtlasMode( QgsComposition.ExportAtlas )<br>
><br>
 <br>
You should be good to go after this.</p>
<p dir="ltr">While QgsAtlasComposition::setComposerMap and setFixedScale, etc have been deprecated, they should still work OK. As mentioned earlier, the new way is to set these properties directly on the QgsComposerMap by setAtlasDriven and setAtlasFixedScale.</p>

<p dir="ltr">> You can have a look at test units in :<br>
> tests/src/python/test_qgsatlascomposition.py (which ... apparently are<br>
> failing now ...)<br>
></p>
<p dir="ltr">+1 to this, the python tests are a good way to see examples of the qgis api in action. I suspect they are failing either due to platform specific font rendering issues or due to MTR changes. I'll take a look at these in the next couple of days.</p>

<p dir="ltr">Nyall</p>