SkiddlyMcZ opened this issue on Sep 27, 2013 · 11 posts
SkiddlyMcZ posted Mon, 30 September 2013 at 6:04 PM
Quote - I can amend it to do anything conformed or parented to the current figure or even everything in the scene.
A prop is just an actor so you just need to change the bit that loops through actors.
like this
script set sensitivity for prop
import poser
newval = 0.1
xt = poser.kParmCodeXTRAN
yt = poser.kParmCodeYTRAN
zt = poser.kParmCodeZTRAN
xr = poser.kParmCodeXROT
yr = poser.kParmCodeYROT
zr = poser.kParmCodeZROT
myparm = [xt,yt,zt,xr,yr,zr]
act = poser.Scene().CurrentActor()
print act.Name()
for p in myparm:
cp = act.ParameterByCode(p)
cp.SetSensitivity(newval)
print "Done"this will crash if the current actor does not have tran and rotate parameters.
Thanks again man, very very useful! :D