Virtual World Dynamics F.A.Q (Last Updated: 2024 Nov 05 5:09 pm)
Hello bwldrd,
There is a script named "VWDButtons.py" if I remember correctly. The best way is to add this script to the Python interface. Then, when you press on this "VWDButtons" button, the interface changes. The new Python interface shows all the buttons useful to work with VWD. One button stops this new interface and restore the original Python interface.
I give you these informations by trying to remember me correctly. I will give you more precise informations later.
____________________________________________
Follow me on Twitter : @VWDynamics
Watch demo videos on Youtube
Yep, I've done that. And have the buttons show up in the button menu. Just when I try to use them to start VWD I get that error. If I launch and run VWD manually by using the run python script (File menu) they will work correctly, but not until I have launched VWD manually each session I use poser. It's like it can't recognise where it's installed until I've run it once. The path variables don't seem to be working for it until it's launched and learned where it's at. Think I'll just change the buttons to reflect the absolute path I of where it is, like my other python buttons. runtime:python: .. etc. instead of that os.path bit.
Thanks for the reply.
--------------------------------------------------------------------------------
Consider me insane if you wish, but is your reality any better?
As you saw in the script, the first line get the full path of the current script file and the second one keeps the path without the file name. All the following actions will depend on this path and the VWDClothAndHair.exe file must in this folder. In one word, all the scripts and the VWD program must be in the same folder. Can you confirm they are in different folders. Otherwise, I will try to understand why you have this issue.
____________________________________________
Follow me on Twitter : @VWDynamics
Watch demo videos on Youtube
Included screenshot shows all the files in directory :Runtime:Python:PoserScripts:VWD:
I just went ahead and did like I mentioned and just changed the listings to absolute paths, and it is working. poser.DefineScriptButton(1, ":Runtime:Python:PoserScripts:VWD:StartVWD.py", "Start VWD") .. etc for each button
--------------------------------------------------------------------------------
Consider me insane if you wish, but is your reality any better?
Hello bwldrd,
Happy that you resolved the issue. I suppose you used the files included in the default Poser installation. I will look at these files and I will try to understand your issue. Sorry for that.
____________________________________________
Follow me on Twitter : @VWDynamics
Watch demo videos on Youtube
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.
Can anyone tell me why the python buttons won't launch VWD. I either have to run the script manually or I am going to need to change the button script to reflect the acutual paths. As the script is now, when I press the "Start VWD Button", it just gives me this error.
And here is the listing for the buttons.
--------------------------------------------------------------------------------
Consider me insane if you wish, but is your reality any better?