myResult = myVisu.ImportFile(medFile)
anAnim = myVisu.CreateAnimation(myView);
-anAnim.setAnimationMode(VISU.Animation.SUCCCESSIVE)
+anAnim.setAnimationMode(VISU.Animation.SUCCESSIVE)
aSObj = myStudy.FindObjectIOR(myResult.GetID())
aSObj = aSObj.FindSubObject(1)[1]
anAnim.publishInStudy()
anAnim.saveAnimation()
-if anAnim.getAnimationMode() == VISU.Animation.SUCCCESSIVE:
- print "End of succcessive animation for 2 fields with presentation type VISU.Animation.SUCCCESSIVE"
+if anAnim.getAnimationMode() == VISU.Animation.SUCCESSIVE:
+ print "End of succcessive animation for 2 fields with presentation type VISU.Animation.SUCCESSIVE"
#for i in range(0,anAnim.getNbFields()):
aPrs = anAnim.getPresentation(0,0)
myResult = myVisu.ImportFile(medFile)
anAnim = myVisu.CreateAnimation(myView);
-anAnim.setAnimationMode(VISU.Animation.SUCCCESSIVE);
+anAnim.setAnimationMode(VISU.Animation.SUCCESSIVE);
aSObj = myStudy.FindObjectIOR(myResult.GetID())
aSObj = aSObj.FindSubObject(1)[1]
anAnim.publishInStudy()
anAnim.saveAnimation()
-if anAnim.getAnimationMode() == VISU.Animation.SUCCCESSIVE:
- print "End of succcessive animation for 2 fields with presentation type VISU.Animation.SUCCCESSIVE"
+if anAnim.getAnimationMode() == VISU.Animation.SUCCESSIVE:
+ print "End of succcessive animation for 2 fields with presentation type VISU.Animation.SUCCESSIVE"
anAnim.clearFields()
print "The number of fields in animation after clearFields method is", anAnim.getNbFields()