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() == 120332:expBullets = expFeature.getExpandedBullets()if expBullets is not None:for expBullet in expBullets:resolution = float(expBullet.getValue())print "Resulution is" + `resolution`if resolution < 4 :strRate = "Upto 4x"elif resolution < 6 :strRate = "4 - 6x"elif resolution < 10 :strRate = "6 - 10x"elif resolution < 14 :strRate = "10 - 14x"elif resolution < 18 :strRate = "14 - 18x"else :strRate = "Above 18x"values.append(strRate)