Fri, Nov 1, 5:39 PM CDT

Renderosity Forums / Poser Python Scripting



Welcome to the Poser Python Scripting Forum

Forum Moderators: Staff

Poser Python Scripting F.A.Q (Last Updated: 2024 Sep 18 2:50 am)

We now have a ProPack Section in the Poser FreeStuff.
Check out the new Poser Python Wish List thread. If you have an idea for a script, jot it down and maybe someone can write it. If you're looking to write a script, check out this thread for useful suggestions.

Also, check out the official Python site for interpreters, sample code, applications, cool links and debuggers. This is THE central site for Python.

You can now attach text files to your posts to pass around scripts. Just attach the script as a txt file like you would a jpg or gif. Since the forum will use a random name for the file in the link, you should give instructions on what the file name should be and where to install it. Its a good idea to usually put that info right in the script file as well.

Checkout the Renderosity MarketPlace - Your source for digital art content!



Subject: Netherworks - PoseWriter Panel not working - PLEASE HELP!


shed_e ( ) posted Thu, 13 May 2021 at 6:11 AM · edited Fri, 01 November 2024 at 5:36 PM

I recently uninstalled & reinstalled my Poser Pro 2014. Everything was working fine until I noticed that the 'PoseWriter Panel' under the Scripts menu is not working. Funny thing is everything is right there, and when I create a pose with a figure, and save the pose using PoseWriter it even says the Pose is 'written and ready' and also indicating where it is saved. Unfortunately nothing is saved. However I do get an error code, every time I close Poser after attempting to pose a figure through PoseWriter Panel. I'm not very familiar with Scripts and their error code. I really need to get this fixed as this posing script is what I rely on posing my figures with efficiency and ease. Below is a screenshot of the error code I get when I close Poser application:PoseWriter Panel error.JPG


HartyBart ( ) posted Mon, 17 May 2021 at 2:38 AM

Some possibilities:

It can't 'see' the Actor figure, because the scene is saved but the figure has been moved in the runtime. Or the runtime is now elsewhere.

The script has been updated for Poser 11, which broke it on Poser Pro 2014.

Poser does not yet have 'disk write' permission from Windows, for some reason. It can't drop the file into the runtime. Or an anti-virus is prevent it doing so.



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


shed_e ( ) posted Sat, 29 May 2021 at 7:11 PM

HartyBart posted at 7:04PM Sat, 29 May 2021 - #4419332

Some possibilities:

It can't 'see' the Actor figure, because the scene is saved but the figure has been moved in the runtime. Or the runtime is now elsewhere.

The script has been updated for Poser 11, which broke it on Poser Pro 2014.

Poser does not yet have 'disk write' permission from Windows, for some reason. It can't drop the file into the runtime. Or an anti-virus is prevent it doing so.

Thanks a lot for the reply. I thought I'd get a notification for any response to this, but I guess not. Actually the runtime is the same, it has not changed, but maybe somehow it changed for the script. I may need to remove all poser content and software for this to work again perhaps. But I actually have a new issue now. Poser Pro 2014 crashes after an error message now, every time I try to apply a pose through the script. Below is a screenshot of the error message. Poser crashes after I click OK. I really need to find a way to fix this. Thanks again PWS error.JPG


shed_e ( ) posted Sat, 29 May 2021 at 7:39 PM

Perhaps I need to uninstall Poser Pro by removing all contents from the system, and then reinstall for the script to work again. Just to be clear I did not remove all Poser contents from system when I uninstalled before as mentioned on post. I'm guessing these script files remain as saved content, like the poser content library, although they are not saved in the same directory. I feel like there's an easy way to resolve this, without having to do all this. Thanks


adp001 ( ) posted Mon, 31 May 2021 at 5:37 PM

Can you load that cm2 file from Posers content manager?




adp001 ( ) posted Mon, 31 May 2021 at 5:46 PM

Did you reset the folders in the script (right click in the scripts window, "Features -> Folders -> Reset Last used Folders" and "Clear Recent Folder List")?




adp001 ( ) posted Mon, 31 May 2021 at 6:05 PM

Is it possible that another script is also running? Perhaps one that starts automatically with a scene? Or any AddOn?

I'm asking because in your first msg you showed an error message that says "Scene" could not be found. "Scene" is part of Poser Python, but can be overwritten by a script for special purposes.




adp001 ( ) posted Mon, 31 May 2021 at 6:15 PM · edited Mon, 31 May 2021 at 6:15 PM

Try the script I posted some time before. It cleans the Python environment.

https://www.renderosity.com/rr/mod/forumpro/?thread_id=2960458

You can simply copy the script from the message and post it into a Poser Python Shell (open Poser -> Scripts -> Python Shell). Right click into the Shell und select "Paste Plus".

The script reports anything it deletes (don't worry – nothing gets permanently damaged :))




adp001 ( ) posted Mon, 31 May 2021 at 6:34 PM · edited Mon, 31 May 2021 at 6:36 PM

While analysing the script I found that it creates files on my computer here:

C:\Users\[username]\AppDataRoaming\[your Poser Version]\Netherworks\PoseWriter Panel

Make sure the script is able to write to that directory. I deleted the INI files I found there. The scripts created new files after I restarted it.




shed_e ( ) posted Tue, 01 June 2021 at 11:27 PM

adp001 posted at 11:26PM Tue, 01 June 2021 - #4420231

While analysing the script I found that it creates files on my computer here:

C:Users[username]AppDataRoaming[your Poser Version]NetherworksPoseWriter Panel

Make sure the script is able to write to that directory. I deleted the INI files I found there. The scripts created new files after I restarted it.

Thanks a lot for all the tips and help. Let me get back to you after trying those. Most appreciated :)


shed_e ( ) posted Wed, 02 June 2021 at 5:31 PM

adp001 posted at 5:30PM Wed, 02 June 2021 - #4420223

Can you load that cm2 file from Posers content manager?

If you're referring to the cm2 file in the screenshot, then yes it's loading just fine.


shed_e ( ) posted Wed, 02 June 2021 at 5:35 PM

adp001 posted at 5:32PM Wed, 02 June 2021 - #4420224

Did you reset the folders in the script (right click in the scripts window, "Features -> Folders -> Reset Last used Folders" and "Clear Recent Folder List")?

Sorry, I dunno where this is exactly. Not sure if you're referring to locations in windows files or control panels of the software. Either way I can't find these.


shed_e ( ) posted Wed, 02 June 2021 at 5:45 PM

adp001 posted at 5:36PM Wed, 02 June 2021 - #4420225

Is it possible that another script is also running? Perhaps one that starts automatically with a scene? Or any AddOn?

I'm asking because in your first msg you showed an error message that says "Scene" could not be found. "Scene" is part of Poser Python, but can be overwritten by a script for special purposes.

I don't think so. But this error (the first one) first initially happened when I reinstalled PP2014. The main reason I actually reinstalled PP2014 was that my content library got messed up after I was testing a 'lock folder app' and added the content library destination folder by mistake among the few files I added to the App. After I unlocked the folder the damage could not be undone, since Poser was not recognizing the destination folder anymore. But maybe I could've just added the library again, unfortunately I don't remember if I tried that or not then. But I reinstalled Poser to fix the issue, and it worked. Unfortunately the PoseWrite Panel did not work since. And now there's a second error message instead of the first one


shed_e ( ) posted Wed, 02 June 2021 at 5:50 PM

adp001 posted at 5:49PM Wed, 02 June 2021 - #4420227

Try the script I posted some time before. It cleans the Python environment.

https://www.renderosity.com/rr/mod/forumpro/?thread_id=2960458

You can simply copy the script from the message and post it into a Poser Python Shell (open Poser -> Scripts -> Python Shell). Right click into the Shell und select "Paste Plus".

The script reports anything it deletes (don't worry – nothing gets permanently damaged :))

Just tried that and restarted Poser. Did not make any difference, but perhaps I'm missing something (a step) there.


shed_e ( ) posted Wed, 02 June 2021 at 5:52 PM

adp001 posted at 5:51PM Wed, 02 June 2021 - #4420231

While analysing the script I found that it creates files on my computer here:

C:Users[username]AppDataRoaming[your Poser Version]NetherworksPoseWriter Panel

Make sure the script is able to write to that directory. I deleted the INI files I found there. The scripts created new files after I restarted it.

Below is a screenshot just for assurance and reference. Are you saying to delete both the INI files there?dest.JPG


adp001 ( ) posted Thu, 03 June 2021 at 12:00 AM

shed_e posted at 11:40PM Wed, 02 June 2021 - #4420356

adp001 posted at 5:32PM Wed, 02 June 2021 - #4420224

Did you reset the folders in the script (right click in the scripts window, "Features -> Folders -> Reset Last used Folders" and "Clear Recent Folder List")?

Sorry, I dunno where this is exactly. Not sure if you're referring to locations in windows files or control panels of the software. Either way I can't find these.

If I right click in the scripts window (Netherworks script), I get a menu. Maybe there is a difference between the script you use and mine. I'm using P11.

But deleting both INI files does the same.

Anyway, Seems this 'tock folder app' messed with access rights of files and pathes. Simply overwriting (a new install) may not completly restore anything, Best you can do is copy all your content files out of the way and delete any path and file related to Poser before reinstalling. Check if Poser works (without your content). Then select the folder you saved your content to and use windows to set the access rights for all files and pathes in it (but most likely your content is not the problem because you could load the cm2 file with Poser).

Good luck!




shed_e ( ) posted Thu, 03 June 2021 at 5:29 PM

adp001 posted at 5:26PM Thu, 03 June 2021 - #4420389

shed_e posted at 11:40PM Wed, 02 June 2021 - #4420356

adp001 posted at 5:32PM Wed, 02 June 2021 - #4420224

Did you reset the folders in the script (right click in the scripts window, "Features -> Folders -> Reset Last used Folders" and "Clear Recent Folder List")?

Sorry, I dunno where this is exactly. Not sure if you're referring to locations in windows files or control panels of the software. Either way I can't find these.

If I right click in the scripts window (Netherworks script), I get a menu. Maybe there is a difference between the script you use and mine. I'm using P11.

But deleting both INI files does the same.

Anyway, Seems this 'tock folder app' messed with access rights of files and pathes. Simply overwriting (a new install) may not completly restore anything, Best you can do is copy all your content files out of the way and delete any path and file related to Poser before reinstalling. Check if Poser works (without your content). Then select the folder you saved your content to and use windows to set the access rights for all files and pathes in it (but most likely your content is not the problem because you could load the cm2 file with Poser).

Good luck!

Yea it's different in PP14. It doesn't have the option. I deleted the INI files as instructed, and the recent error was fixed. Unfortunately the old error message is back. Will uninstall and remove Poser contents as you have suggested and reinstall it. That's the best option to fix this. Thanks a lot again for all your help. Much appreciated :)


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.