Forum: Poser Python Scripting


Subject: Changing Alternate_Diffuse value

papillon68 opened this issue on Nov 19, 2010 ยท 24 posts


Snarlygribbly posted Sat, 14 January 2012 at 3:26 PM

node = tree.NodeByInternalName("PoserSurface")

It's better to use:

node = tree.Node(0)

The reason is because the internal name of the PoserSurface node isn't always 'PoserSurface'!

By way of example, check out BB's EnvDome - it uses the internal name 'Surface' instead, which wouldn't be picked up by your script.

Free stuff @ https://poser.cobrablade.net/