Forum: Poser - OFFICIAL


Subject: Python - Possible to add trans values?

maclean opened this issue on Jul 03, 2007 · 9 posts


maclean posted Tue, 03 July 2007 at 11:28 AM

hi all,

I'm building a room which uses a grid system to move things around. Someone wrote me a neat little posing script for daz studio, and I'm wondering if the same thing can be done in poser with a python script.

What the script does is add a value to the current trans value of an object. If an object is at zero and I apply the pose, it moves to Ztrans=170. If I apply it again, it moves to Ztrans=340, and so on. In other words, it adds the value in the pose to whatever the current Ztrans value is. The pose is, of course, editable, so I can make them for positive/negative values and X,Y or Z trans (rotation too).

So, can it be done in poser? If anyone can come up with this, I'm offering a free download of any of my products at DAZ. Since it's for a commercial product, (a new version of Room Creator), it's only fair.

At the worst, if I know it definitely can't be done, at least I'll be able to tell poser users that in the help file. In which case, I'll just put in a set of 28 poses for them.

TIA

mac