← Back to team overview

yade-users team mailing list archive

[Question #703940]: How can I remove Somengines from the existing O.engines?

 

New question #703940 on Yade:
https://answers.launchpad.net/yade/+question/703940

For example,

O.engines=O.engines+[DomainLimiter(lo=(-.05,-.05,-.05), hi=(.05,.05,.05), iterPeriod = 100, label = 'Domain')]

DomainLimiter is appended to the existing engines.
As I know, O.engines is list type variable.
So, I have tried to remove DomainLimiter as follows:

In [2]: O.engines[5]
Out[2]: <DomainLimiter instance at 0x5610901b5220>

del O.engines[5]

However, it does not work

So, How can I remove the Someengines from the existing O.engines?

Regards.

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.