Cage opened this issue on Feb 08, 2014 · 13 posts
Pret-a-3D posted Sat, 08 February 2014 at 8:06 PM
Hi.
poser.Scene().Changed() tells you if the scene has been changed
poser.Scene().SetChanged() sets the scene as changed
poser.Scene().DocumentPath() returns the path of the current scene
To access the subdivided geometry you can use this type of code:
# a = Actor
if (a.IsBodyPart() and a.ItsFigure()):
if ((a.ItsFigure().SkinType() != poser.kSkinTypePOSER) and a.SubdivideWithFigure()):
continue
else:
if (not (a.IsProp())):
continue
g = a.SubdivGeometry()
For the new method about the camera and light changed see the addon baseclass source that is installed with Poser.
Hope this helps.
Paolo
https://www.preta3d.com
FB: https://www.facebook.com/RealityPlugIn
Tw: @preta3d
G+:
https://plus.google.com/106625816153304163119
The
Reality Gallery: https://reality-plug-in.deviantart.com