# Script used in Poser to randomize the heights import poser import random import string scene=poser.Scene() for p in scene.Actors(): if p.IsProp(): if string.upper(p.Name())=='GROUND': continue if string.upper(p.Name())=='UNIVERSE': continue if string.count(string.upper(p.Name()),'MASS'): continue for f in range(scene.NumFrames()): scene.SetFrame(f) yt = p.ParameterByCode(poser.kParmCodeYTRAN) yt.SetValue(random.uniform(-1.5,0.0)) #end