<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hmm,<br>
    <br>
        Okay...<br>
    <br>
        Not sure about dynamic meshes - check you are not still in
    Editing mode
<a class="moz-txt-link-freetext" href="http://www.blender.org/documentation/249PythonDoc/Window-module.html#EditMode">http://www.blender.org/documentation/249PythonDoc/Window-module.html#EditMode</a><br>
    <br>
        1.    Try moving an object you have not created with a script -
    you probably did that already.<br>
        2.    Try placing your mesh at a non-zero location - might be a
    problem when creating it.<br>
        3.    When you get your mesh, can you see the location from
    getLocation()?<br>
    <br>
        Apart from that I can't really help much, sorry.<br>
    <br>
        Glen<br>
    <br>
        <br>
    <br>
    On 05/10/2010 17:09, <a class="moz-txt-link-abbreviated" href="mailto:andrew2006@flight.us">andrew2006@flight.us</a> wrote:
    <blockquote
cite="mid:788138731.888462.1286294963630.JavaMail.open-xchange@oxusltgw05.schlund.de"
      type="cite">
      <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
      <title></title>
      <p style="margin: 0px;"><span></span></p>
      <p> </p>
      <div style="margin: 5px 0px; font-family: monospace;"> On October
        5, 2010 at 3:38 PM Glen Pike <a class="moz-txt-link-rfc2396E" href="mailto:glen@engineeredarts.co.uk"><glen@engineeredarts.co.uk></a>
        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; font-family: monospace;"> ><br>
        >
        <a class="moz-txt-link-freetext" href="http://www.blender.org/documentation/249PythonDoc/frames.html">http://www.blender.org/documentation/249PythonDoc/frames.html</a><br>
        ><br>
        ><br>
        ><br>
        > On 05/10/2010 16:27, <a class="moz-txt-link-abbreviated" href="mailto:andrew2006@flight.us">andrew2006@flight.us</a> 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>
        > > <a class="moz-txt-link-abbreviated" href="mailto:Bf-python@blender.org">Bf-python@blender.org</a><br>
        > > <a class="moz-txt-link-freetext" href="http://lists.blender.org/mailman/listinfo/bf-python">http://lists.blender.org/mailman/listinfo/bf-python</a><br>
        ><br>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Bf-python mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Bf-python@blender.org">Bf-python@blender.org</a>
<a class="moz-txt-link-freetext" href="http://lists.blender.org/mailman/listinfo/bf-python">http://lists.blender.org/mailman/listinfo/bf-python</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>