← Back to team overview

yade-users team mailing list archive

Re: [Question #661729]: Remove particle above a certain height

 

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

    Status: Open => Answered

Jérôme Duriez proposed the following answer:
Hello,

https://yade-
dem.org/doc/yade.wrapper.html?highlight=erase#yade.wrapper.BodyContainer.erase
is made for you.

You may check the height of a body from the command line with
b.state.pos[2]
assuming the 2-axis is the height-axis, and b is a body (instance)

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