Forum: Poser Python Scripting


Subject: Script help

Uncanny_Film opened this issue on Aug 21, 2023 ยท 4 posts


HartyBart posted Wed, 23 August 2023 at 5:20 PM

Ah, I see. Here it seems you're trying to do a 360-degree spin-around animation on the X axis? We'll there's my paid-for script in the Store, which gets you an animated 360-degree turnaround animation.

But the basic 'increment a value by one' script for Poser would be...


import poser

scene = poser.Scene()

actor = scene.CurrentActor()

# Capture the number on the actor's X-rotation dial.
value = actor.ParameterByCode(poser.kParmCodeXROT).Value()

# Take this newly found number and increment it by one.
value += 1

# Now set this new incremented number on the actor's X-rotation dial
actor.ParameterByCode(poser.kParmCodeXROT).SetValue(value)

# Redraw the OpenGL Preview viewport, so we can see what's changed.
scene.DrawAll()



Learn the Secrets of Poser 11 and Line-art Filters.