Forum: Poser Python Scripting


Subject: Is there a way to support Undo with LoadLibraryPose

yarp opened this issue on Apr 23, 2021 ยท 28 posts


yarp posted Sat, 24 April 2021 at 2:33 AM

So this morning I did a simple test and ran the following script the same way as above:
actor = scene.CurrentActor()
parm = actor.ParameterByCode(poser.kParmCodeXSCALE)
parm.setValue(0.66)
This didn't reset the undo buffer and I was able to undo my script. So possibly the LoadLibraryPose method does reset the Undo buffer and I should make my own function.
How... :(

Yarp - author of P3DO Organizer for Poser