[Bf-python] setLocation

Shane Blake blakesha at gmail.com
Sun Apr 27 02:49:36 CEST 2008


I have the following code in an import script and it does not seem to be
working:

emptyObj = currentScene.objects.new("Empty")
emptyObj.setName("Name")
emptyObj.setLocation(10.0,10.0,10.0)

No matter what I do I cannot get the Empty to move from the scene origin. It
appears in the scene, but not where I want it to be.

Regards,

Shane
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.blender.org/pipermail/bf-python/attachments/20080427/6aa07527/attachment.html>


More information about the Bf-python mailing list