[Bf-python] obj.setLocation(x, y, z) and obj.LocX=x don't seem to work
Stephen Swaney
sswaney at centurytel.net
Mon Oct 11 06:22:26 CEST 2010
On Sun, Oct 10, 2010 at 11:39:08PM -0400, andrew2006 at flight.us wrote:
> The issue is referring to the object AFTER it's created (via the above command), by name.
>
> Using 'mynewobjectname' with Blender.Object.Get(...) is what fails.
>
> You have to include the suffix (it appears):
> Blender.Object.Get('mynewobjectname.001'), in order to get the right reference.
It is not a 'suffix'. It is simply the last few characters of the object name.
To refer to an object by name, you have to use its actual name.
--
Stephen Swaney
sswaney at centurytel.net
More information about the Bf-python
mailing list