On Fri, Sep 18, 2009 at 6:57 PM, Jamie Riotto wrote:
> However, I'll have to keep looking for a more elegant solution.
> Telling a user that typing:
> cube1 = Cube(name = cube1) is a good thing because its pythonic is
> somehow unsatisfying.
That isn't pythonic. The usual pythonic way to map nam
On Fri, Sep 18, 2009 at 1:10 PM, Gabriel Genellina
wrote:
> En Fri, 18 Sep 2009 14:38:08 -0300, Christian Heimes
> escribió:
>>
>> Jamie Riotto schrieb:
>
>>> I have an app that uses Python scripting. When a user creates a new
>>> object:
>>>
>>> objName = newObject()
>>>
>>> I'd like the newObje
En Fri, 18 Sep 2009 14:38:08 -0300, Christian Heimes
escribió:
Jamie Riotto schrieb:
I have an app that uses Python scripting. When a user creates a new
object:
objName = newObject()
I'd like the newObject be able to use objName as its internal name.
As the others already explained to
Jamie,
Hi.
> I have an app that uses Python scripting. When a user creates a new object:
>
> objName = newObject()
newObject should technically speaking be newClass() but nevermind :-)
> I'd like the newObject be able to use objName as its internal name.
> So, if a user says:
>
> cube1 = Cube()
Jamie Riotto schrieb:
> I have an app that uses Python scripting. When a user creates a new object:
>
> objName = newObject()
>
> I'd like the newObject be able to use objName as its internal name.
> So, if a user says:
>
> cube1 = Cube()
>
> A "cube1" object should apear in the scene list. I
On Sep 18, 1:00 pm, Jamie Riotto wrote:
> I have an app that uses Python scripting. When a user creates a new object:
>
> objName = newObject()
>
> I'd like the newObject be able to use objName as its internal name.
> So, if a user says:
>
> cube1 = Cube()
>
> A "cube1" object should apear in the
On Fri, Sep 18, 2009 at 10:00 AM, Jamie Riotto wrote:
> I have an app that uses Python scripting. When a user creates a new object:
>
> objName = newObject()
>
> I'd like the newObject be able to use objName as its internal name.
>
Almost this exact same question came up not so long ago, which is
I have an app that uses Python scripting. When a user creates a new object:
objName = newObject()
I'd like the newObject be able to use objName as its internal name.
So, if a user says:
cube1 = Cube()
A "cube1" object should apear in the scene list. I believe this means I need
to determine tha