Question #164389 on Yade changed:
https://answers.launchpad.net/yade/+question/164389

    Status: Open => Answered

honzik proposed the following answer:

Hi

> O.bodies.append([
>     ...: utils.sphere((0,0,2),.5)
>     ...: utils.sphere(center=(0,0,0),radius=.5,dynamic=False)

is this oyur complete command? then usage of braces are wrong and
missing comma is also wrong in python syntax, the right syntax should be
something like this:

O.bodies.append([
    utils.sphere((0,0,2),.5) ,
    utils.sphere(center=(0,0,0),radius=.5,dynamic=False)
])

regards,
Jan

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to