Forum: Poser Python Scripting


Subject: Changing Alternate_Diffuse value

papillon68 opened this issue on Nov 19, 2010 · 24 posts


markschum posted Sat, 14 January 2012 at 12:33 PM

It looks a lot like one of mine, strange abbreviations, lack of error trapping and all ;-)

You cant really copyright python because the code to do a specific task is going to look much the same no matter who writes it.  Thats why commercial products use a compiled script pyc.

I dont think any of the people who do freebie scripts would object to your using and modifying anything.  Certainly you can use anything of mine.

I normally put a comment line at the start when I remember. 

 

Its usually in the actors loop that my scripts come apart.  poser.Scene().Actors()  contains a lot of stuff that does not always have materials. I usually toss in code to filter lights, magnets and such out of the list.  

If you modify your print node to print mat.Name()  you will get the material name printed if there is a PoserSurface node.