Currently, there is no direct function in SimLab to get the number of RBE elements from a body. We therefore propose the workaround mentioned below:
- Obtain the connected RBE elements from the selected body and create a group using Right Click > Select Associated Entities tool.

2. Use simlab.getEntityFromGroup utility function to get all the RBE elements from the group created.

3. Find the length of the “elements” which is equal to the number of elements in the body.
