<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.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;">hi, all</p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">i am very new to both blender, python and blender python.</p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">I have a rudimentary script creating a mesh primitive (cylinder)</p>
<p style="margin: 0px;">I get the object handle like so: obj=Blender.Object.Get('cylmesh')</p>
<p style="margin: 0px;"> </p>
then I do
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">obj.setLocation(x,y,0.5)</p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">-- or, alternatively ---</p>
<p style="margin: 0px;">obj.LocX=x<br />
obj.LocY=y</p>
<p style="margin: 0px;">(my "x" and "y" are non-zero)</p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">but the mesh stays at the origin</p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">the "setLocation()" call doesn't seem to have an effect, nor do the "Loc[X,Y,Z]" assignments</p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">yet, there are no errors reported</p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">blender version: 2.49b</p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">tia</p>
<p style="margin: 0px;">andrew</p>
<p style="margin: 0px;"> </p>
</body>
</html>