Wed, Jan 22, 9:21 PM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2025 Jan 22 7:49 pm)



Subject: Material PoserPhyton scripts won't work?


the-negative ( ) posted Sun, 18 February 2007 at 7:08 PM · edited Thu, 12 December 2024 at 4:57 AM

"NameError: name 'poser' is not defined"

I get this whenever I load up any of Faceoff's Realism wacros in P7. (It used to work)
Occlusionmaster stops working too (Nothing in the scene?) and I have no idea where to correct it.

I accidentally (permanently)  deleted my Poserscripts folder beforehand, and I REALLY do not want to do another install, so if the issues are related someone would be kind enough to help me through (hint hint, I do hope it's not frowned upon in here)

In This Twilight- My FIRST public poser work in 2 years!
Also the reason why I endorse postwork (:D)


Victoria_Lee ( ) posted Sun, 18 February 2007 at 7:46 PM

Hopefully you didn't empty your recycle bin and the folder is still there.

If you have your P6 python scripts folder, just do a copy into the Python directory in P7.  That's all I did to get all of my P6 scripts working in P7.  I use OcclusionMaster and the Realism Kits a lot so they have to work for me.

Hugz from Phoenix, USA

Victoria

Remember, sometimes the dragon wins. Correction: MOST times.


the-negative ( ) posted Mon, 19 February 2007 at 8:13 AM

Well, I use the shift key when deleting- so that's a no-no for me.
If anyone can help by PM for a folder that has the basic scripts/resources (encrypted and all, for private use) for restoration, I'd really appreciate that. :D

In This Twilight- My FIRST public poser work in 2 years!
Also the reason why I endorse postwork (:D)


nruddock ( ) posted Mon, 19 February 2007 at 2:32 PM

Check each script and add the following if required :-

import poser

This line can be added anywhere before the first line of code (easiest is just to add it as the first line in the file).


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.