← Back to team overview

yade-dev team mailing list archive

Re: [yade-dev] How to access neighboring grains

 

> I tried
>
> O.interactions.withBody(id).geom['normal']
> or
> O.interactions.withBody(id).id1
>
> but I get
>
> 'list' object has no attribute 'geom'
Read some python tutorial and find out what is a list. This is really
basic. It is a list of interactions.

Cheers, Vaclav




References