<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
    <title></title>
  </head>

  <body>
    <p style="margin: 0px;"><span></span></p>

    <p> </p>

    <div style="margin: 5px 0px 5px 0px; font-family: monospace;">
      On October 5, 2010 at 3:38 PM Glen Pike <glen@engineeredarts.co.uk> wrote:<br />
      <br />
      >   You might need to call Blender.Redraw(-1)
    </div>

    <p style="margin: 0px;"> </p>

    <p style="margin: 0px;">Tried Redraw(-1) -- no difference</p>

    <p style="margin: 0px;"> </p>

    <p style="margin: 0px;"> </p>

    <div style="margin: 5px 0px 5px 0px; font-family: monospace;">
      ><br />
      > http://www.blender.org/documentation/249PythonDoc/frames.html<br />
      ><br />
      ><br />
      ><br />
      > On 05/10/2010 16:27, andrew2006@flight.us wrote:<br />
      > ><br />
      > > hi, all<br />
      > ><br />
      > > i am very new to both blender, python and blender python.<br />
      > ><br />
      > > I have a rudimentary script creating a mesh primitive (cylinder)<br />
      > ><br />
      > > I get the object handle like so: obj=Blender.Object.Get('cylmesh')<br />
      > ><br />
      > > then I do<br />
      > ><br />
      > > obj.setLocation(x,y,0.5)<br />
      > ><br />
      > > -- or, alternatively ---<br />
      > ><br />
      > > obj.LocX=x<br />
      > > obj.LocY=y<br />
      > ><br />
      > > (my "x" and "y" are non-zero)<br />
      > ><br />
      > > but the mesh stays at the origin<br />
      > ><br />
      > > the "setLocation()" call doesn't seem to have an effect, nor do the<br />
      > > "Loc[X,Y,Z]" assignments<br />
      > ><br />
      > > yet, there are no errors reported<br />
      > ><br />
      > > blender version: 2.49b<br />
      > ><br />
      > > tia<br />
      > ><br />
      > > andrew<br />
      > ><br />
      > ><br />
      > > _______________________________________________<br />
      > > Bf-python mailing list<br />
      > > Bf-python@blender.org<br />
      > > http://lists.blender.org/mailman/listinfo/bf-python<br />
      ><br />
    </div>
  </body>
</html>