Tue, Apr 23, 11:58 AM CDT

Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2024 Apr 23 11:43 am)



Subject: Calling a python script from a pose file


Allstereo ( ) posted Tue, 03 July 2018 at 7:07 PM ยท edited Sun, 31 March 2024 at 8:01 PM

Hello all, For those of you that write Python script, I try to call a Python script from a pose file but nothing happen. However, the script is running well with the direct call from both the file menu and script menu. I also address this issue the Poser Python Scripting section.

Allstereo


willyb53 ( ) posted Wed, 04 July 2018 at 6:11 PM

You create a pz2 file to run the python script: { version { number 6 } } { version { number 6 runPythonScript "YourScript.py" } Just remember that poser will not execute a pz2 file without a figure in the scene Bill

People that know everything by definition can not learn anything


willyb53 ( ) posted Wed, 04 July 2018 at 6:11 PM

damn, forgot about formating in this forum Bill

People that know everything by definition can not learn anything


willyb53 ( ) posted Wed, 04 July 2018 at 6:18 PM

poser script.jpg

Bill

People that know everything by definition can not learn anything


Allstereo ( ) posted Wed, 04 July 2018 at 7:07 PM

Hello Willyb53, Thank for the response. I have a figure in the scene and my pz2 file is looking as your. If you want to test the script, give to me a e-mail (via the Rendo site mail) and I will send the script and the related files. On the Poser Python scripting forum, I received the same response from Structure and he will test the script.
Allstereo


willyb53 ( ) posted Wed, 04 July 2018 at 7:11 PM

Send away, I seem to test many things :D

Bill

People that know everything by definition can not learn anything


Privacy Notice

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.