Zitat von Jan Stránský <[email protected]>:

Hello Christian,

sorry if I misunderstood your question, but would you like to achieve this?


Yade [1]: b = utils.sphere((1,1,1),1)

Yade [2]: O.bodies.append(b)
 ->  [2]: 0

Yade [3]: b.extra = 4

Yade [4]: b.extra
 ->  [4]: 4

Yade [5]: b.extra = Vector3(1,2,3)

Yade [6]: b.extra
 ->  [6]: Vector3(1,2,3)


Jan


Right, but b.extra is not stored, when calling O.save() ...
It should be carried in c++ structure, right?



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

Reply via email to