delete an interaction

Asked by Latifa El Ghezal on 2011-04-06

Hello,

I would like to ask if it is possible to erase an interaction using
python script.

Thank you

Best regards,
Latifa El Ghezal

Question information

Language:
English Edit question
Status:
Answered
For:
Yade Edit question
Assignee:
No assignee Edit question
Last query:
2011-04-06
Last reply:
2011-04-06

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 <
<email address hidden>> 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 : <email address hidden>
> Unsubscribe : https://launchpad.net/~yade-users
> More help : https://help.launchpad.net/ListHelp
>

Can you help with this problem?

Provide an answer of your own, or ask Latifa El Ghezal for more information if necessary.

To post a message you must log in.