Forum Moderators: Staff
Poser Python Scripting F.A.Q (Last Updated: 2024 Dec 02 3:16 pm)
OK- let me give some more background.
It's been years since I wrote any new python code, so I'm rusty at this.
I've now got Poser 7 and I can see there are now some Firefly Options Methods, but I can't figure out how to access them.
import poser
print " New Bucket Size " + str( poser.BucketSize() )
import poser
scene = poser.Scene()
print " New Bucket Size " + str( scene.BucketSize() )
So how do I do it?
Use ffo = poser.Scene().CurrentFireFlyOptions() to obtain a FireFlyOptionsType object.
You can then use ffo.BucketSize() and ffo.SetBucketSize(n) to get and set the BucketSize respectively.
See the section of the "PoserPython Method Manual" entitled "FireFly Options Methods" for the method names to manipulate other settings.
The values obtained from the FireFlyOptionsType object reflect what's set in the "Manual Settings".
This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.
I can't figure out how to get/set the bucket size from within a python script.
Anyone help?
Please!