R_Hatch opened this issue on Sep 21, 2009 · 8 posts
ockham posted Mon, 21 September 2009 at 7:30 AM
Given your specs, this should do.
Tested in P8, and it does work.
==================
import poser
scene = poser.Scene()
for actor in scene.CurrentFigure().Actors():
if actor.IsProp() or actor.IsBodyPart():
for param in actor.Parameters():
if not param.Hidden():
param.SetValue(0.0)
actor.ParameterByCode(poser.kParmCodeASCALE).SetValue(1.0)
actor.ParameterByCode(poser.kParmCodeXSCALE).SetValue(1.0)
actor.ParameterByCode(poser.kParmCodeYSCALE).SetValue(1.0)
actor.ParameterByCode(poser.kParmCodeZSCALE).SetValue(1.0)
scene.DrawAll()