ironsoul opened this issue on Jun 02, 2017 ยท 5 posts
structure posted Sat, 03 June 2017 at 2:50 AM Forum Coordinator
bagginsbill posted at 8:49AM Sat, 03 June 2017 - #4306493
Heheh. You have a little bit of extra, unnecessary code there. The expression
scene.Figure( figure.Name() )
is just going to give you back what you already have in figure, which is the currently selected figure.
As well, doing
scene.SelectFigure( scene.Figure( figure.Name() ) )
is just selecting the figure that is already selected.
That whole line doesn't do anything at all.
Thanks Ted.
ironsoul posted at 8:49AM Sat, 03 June 2017 - #4306525
Structure posted at 5:51PM Fri, 02 June 2017 - #4306486
try this
# -*- coding: utf-8 -*- import poser scene = poser.Scene() figure = scene.CurrentFigure() scene.SelectFigure( scene.Figure( figure.Name() ) ) if figure: poser.ProcessCommand( 1568 )Perfect, thank you.
You're Welcome.
Locked Out