> What is the equivalent command with python? > > O.bodies.shape=sphere/wall/facet ?
for b on O.bodies:
if b.name=='Sphere': ...
elif b.name=='Wall': ...
(fast enough, I guess)
(https://www.yade-dem.org/sphinx/prog.html#run-time-type-identification-rtti)
v
_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yade-dev
More help : https://help.launchpad.net/ListHelp

