NightmareHero opened this issue on Jan 10, 2011 · 2 posts
markschum posted Mon, 10 January 2011 at 3:06 PM
or heres a script
import poser
scn = poser.Scene()
fig = scn.CurrentFigure()
acts = fig.Actors()
for act in acts:
print act.Name()
parms = act.Parameters()
if parms:
for parm in parms:
if parm.IsMorphTarget() and (parm.Hidden() == 0):
d1 = parm.MorphTargetDelta(0)
if d1:
parm.SetHidden(1)
print "Hiding - " + parm.Name()
print "Done"
there may be a better way, this tests for a parameter dial that is not already hidden and which is a morphtarget , looks for a delta and if there isnt one it hides the dial.
This only works on the copy in memory , so you have to save the figure back to the library. I suggest saving it with a new name until you are sure its worked correctly.
The script lists each body part as it runs , and lists "Hiding - parameter name" if it hides a dial.
It works on the current selected figure.
copy of the script attached, rename ot ftom .txt to .py