<!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 11, 2010 at 4:22 AM Stephen Swaney <sswaney@centurytel.net> wrote:<br />
      <br />
      > On Sun, Oct 10, 2010 at 11:39:08PM -0400, andrew2006@flight.us wrote:<br />
      > <br />
      > > The issue is referring to the object AFTER it's created (via the above command), by name.<br />
      > >  <br />
      > > Using  'mynewobjectname' with Blender.Object.Get(...) is what fails.<br />
      > >  <br />
      > > You have to include the suffix (it appears):<br />
      > > Blender.Object.Get('mynewobjectname.001'), in order to get the right reference.<br />
      ><br />
      > It is not a 'suffix'.  It is simply the last few characters of the object name.<br />
    </div>

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

    <p style="margin: 0px;">well it's less of a prefix than a suffix (morpho-semantically)</p>

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

    <p style="margin: 0px;">and no, "last few characters" is unnecessarily broad and vague. It's not just "last few characters"; it is, more specifically, a 3-digit number, with leading zeros, apparently incremented with/for every newly created object with a duplicating name, appended to the name passed to myscene.objects.new(...,...), with a joining period. Intended to index a series of objects created by the same name, in succession, when the pre-existing one is not deleted first. (Has the appearance of an extension, but isn't really one)</p>

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

    <p style="margin: 0px;">> To refer to an object by name, you have to use its actual name.</p>

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

    <p style="margin: 0px;">No! that has been my point all along. Using the original (actual?) name does not work for me (see original post), but using the name plus the ".001" does. Like so:</p>

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

    <p style="margin: 0px;">               Blender.Object.Get('name_i_originally_gave.001')</p>

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

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

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

    <div style="margin: 5px 0px 5px 0px; font-family: monospace;">
      > --<br />
      > Stephen Swaney                       <br />
      > sswaney@centurytel.net<br />
      ><br />
      > _______________________________________________<br />
      > Bf-python mailing list<br />
      > Bf-python@blender.org<br />
      > http://lists.blender.org/mailman/listinfo/bf-python<br />
    </div>
  </body>
</html>