Rev 5873 | Blame | Compare with Previous | Last modification | View Log | RSS feed
values = []expFeatures = expSlide.getExpandedFeatures()if expFeatures is not None:for expFeature in expFeatures:print expFeature.getFeatureDefinition()if expFeature.getFeatureDefinition().getID() == 120485:expBullets = expFeature.getExpandedBullets()if expBullets is not None:for expBullet in expBullets:resolution = float(expBullet.getValue())print "Resulution is" + `resolution`if resolution < 10 :strRate = "Upto 10 Mpx"elif resolution < 12 :strRate = "10 - 12 Mpx"elif resolution < 15 :strRate = "12 - 15 Mpx"elif resolution < 18 :strRate = "15 - 18 Mpx"else :strRate = "Above 18 Mpx"values.append(strRate)