<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV>Right now, the NLA API for stride bone uses the GUI convention of dealing with strings. In the NLA n-key panel, you type the name of the bone you want in the StrideBone field, and Blender links it up for you behind the scenes. The PyAPI seems to have been written to mirror the user's GUI experience.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I was adding get/setters for group targets in NLA strips (used to target specific armatures with dupligroups with NLA, and are essential for animating instanced groups seperately), and my original code had used the same methodology: strings, like the GUI. It was pointed out on irc that perhaps just passing and retrieving the actual object it was linking to instead of its name would make more sense.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>My thought is that where possible, the PyAPI should mirror the user experience, unless the user experience is hacky. In an ideal application, the user would be able to set the stride bone via a drop-down menu with all valid bone possibilities, and to set the groupTarget via a drop-down with available, valid armatures.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Maybe we should go back and change the StrideBone API to accept and return bone objects, as opposed to strings, and I'll make the groupTarget API follow suite. (If you're worried about backwards compatibility with the StrideBone API, I'm willing to bet cash that the number of users getting and setting stride bone in python right now == 0).</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Thoughts?</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Lucida Grande; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV>Roland Hess</DIV><DIV>harkyman</DIV><BR class="Apple-interchange-newline"></SPAN> </DIV><BR></BODY></HTML>