Pret-a-3D opened this issue on Jan 08, 2014 · 4 posts
structure posted Thu, 09 January 2014 at 5:54 PM Forum Coordinator
I wrote this a while ago and it seems to work ok, I was kinda hoping someone had a better solution though.
import poser
scene=poser.Scene()
for act in scene.Actors():
if act !=None:
if (not act.IsBase()) and (not act.IsDeformer()) and (not act.IsZone()) and (not act.IsLight()) and (not act.IsCamera()) and (not act.IsBodyPart()):
try:
if act.Parent().InternalName().lower()[0:4]=='head':
print 'probably hair', act.Name(),'n'
if act.ConformTarget().lower()[0:4]=='head':
print 'probably hair', act.Name(), 'n'
except:
pass
Locked Out