Thu, Apr 18, 5:44 AM CDT

Welcome to the Poser Python Scripting Forum

Forum Moderators: Staff

Poser Python Scripting F.A.Q (Last Updated: 2024 Mar 19 1:03 pm)

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: Need help with XA Toolbar for Poser


dougj ( ) posted Mon, 15 February 2021 at 11:08 AM · edited Mon, 15 April 2024 at 4:11 PM

Hi,

I'm having problems getting the XA Toolbar script to run in Poser Pro 2010 and Poser 11.2. I'm running Windows 10 Pro. The XL Content Library by the same vendor works fine. Any help would be appreciated.

https://www.renderosity.com/rr/mod/bcs/?ViewProduct=88877


HartyBart ( ) posted Mon, 15 February 2021 at 4:08 PM

Not sure why it won't run in Poser Pro 10 (best known as Poser Pro 2014), but there are a small number of Poser scripts that are flummoxed when they find they're set to run in Poser 11.2. I think it's due to the unfamiliar version-number(?). Anyway, to get those running need the free AVFix script at https://www.poserlounge.nl/PLWP/fix-for-scripts-in-poser-11-2/. This script run first, once, and then the recalcitrant scripts can run.



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


HartyBart ( ) posted Mon, 15 February 2021 at 4:30 PM · edited Mon, 15 February 2021 at 4:32 PM

Here's how to have XA Toolbar and AVFix load together with Poser 11.2, and it works for me.

  1. Copy poserStartup.py from C:|Program Files|Smith Micro|Poser 11|Runtime|Python|poserScripts and save one copy as a backup and another to the Desktop. poserStartup.py needs to be edited outside of C:|Program Files| as Windows won't allow editing there.

  2. Open the Desktop copy of poserStartup.py with Notepad, and edit accordingly:

2021-02-15_222242-vert.jpg

Note the required double back-slashes in the paths at the end of the script.

  1. Save poserStartup.py and copy back to the C:|Program Files| location and replace.



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


dougj ( ) posted Tue, 16 February 2021 at 9:21 AM

Thanks for the reply HartyBart. I will give the script a try when I get a chance. I'm still kind of doubtful since I was already using the avfix script.

Regards, Doug


HartyBart ( ) posted Wed, 17 February 2021 at 3:52 PM

It may be to do with the load-order. I had no luck with one config method, re: the poserStartup.py and you'll see that both methods are deployed in this script (top and very bottom).



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


adp001 ( ) posted Wed, 17 February 2021 at 4:04 PM · edited Wed, 17 February 2021 at 4:04 PM

Why so complicated? AvFix does only change the version number for the time a Poser session runs.

poser.AppVersion = "WhateverYouWant"

has the same effect (change "WhateverYouWant" to the required version number).




HartyBart ( ) posted Thu, 18 February 2021 at 11:47 AM

I don't know why. But all I can say is that AVFix + XZ Toolbar startup worked when one way was tried, but not the other.



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


adp001 ( ) posted Thu, 18 February 2021 at 12:25 PM

Sorry. I forgot Poser returns a function for anything. So it must be:

poser.AppVersion = lambda: "WhatEverYouWant"




dougj ( ) posted Sat, 20 February 2021 at 4:42 PM

Finally working after much grief. I edited my poserpystartup.py according to HartyBarts instructions. I also added the XL library to the ...startup.py. The XL library appeared slightly before the main poser window opened, but I still couldn't see the XA menu. I discovered the problem was that it was opening under my windows start menu bar that I have on the top of the screen. When I dragged my windows start menu bar to the side, it revealed the tiny XA icon on the very top of the screen. Thanks again for the help. Best Regards, Doug


HartyBart ( ) posted Mon, 22 February 2021 at 2:56 AM · edited Mon, 22 February 2021 at 2:56 AM

Ah, yes it's forgotten about that 'tiny' aspect. Yes - now you mention it I seem to recall it starts very small, and then you have to tweak it to get it how you want it. It's a great tool though. You can also pin Python scripts to its icons.



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


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.