Skip to main content
1 of 2
Oscar Campo
  • 556
  • 2
  • 17

If you want the bounding box of every selected feature:

layer = iface.activeLayer()
for feature in layer.selectedFeaturesIterator():
    print feature.geometry().boundingBox () 
Oscar Campo
  • 556
  • 2
  • 17