← Back to team overview

yade-users team mailing list archive

Re: [Question #151859]: delete an interaction

 

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

    Status: Open => Answered

Chiara Modenese proposed the following answer:
Hi Latifa,

you can do it by using:
O.interactions.erase(id1,id2)

see:
https://yade-dem.org/doc/yade.wrapper.html?highlight=erase#yade.wrapper.InteractionContainer.erase
and, for quick info, type O.interactions.erase? in the terminal.

HTH,
Chiara

On 6 April 2011 13:36, Latifa El Ghezal <
question151859@xxxxxxxxxxxxxxxxxxxxx> wrote:

> New question #151859 on Yade:
> https://answers.launchpad.net/yade/+question/151859
>
> Hello,
>
> I would like to ask if it is possible to erase an interaction using
> python script.
>
> Thank you
>
> Best regards,
> Latifa El Ghezal
>
> --
> 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     : yade-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-users
> More help   : https://help.launchpad.net/ListHelp
>

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