yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #16263
Re: [Question #660590]: Loading and manipulating a saving file
Question #660590 on Yade changed:
https://answers.launchpad.net/yade/+question/660590
amir gave more information on the question:
Hello,
Is it possible to remove (clear) a specific number of bodies (not
erasing) in Yade? I need to get rid of the Null bodies generated before.
The erased bodies cannot be seen but their id are still available.
for i in range(0,10):
if isinstance (b.shape,Sphere): O.bodies.erase(i)
clear the same bodies?
Thanks in advance
--
You received this question notification because your team yade-users is
an answer contact for Yade.