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:
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.