One can use below snippet for the same:
BW = ExtAPI.SelectionManager.CurrentSelection.Entities #GeoBodyWrapper
I have a very simple question: We need to get some bodies from a .CurrentSelection (ids pointing to GeoBodyWrappers) and perform some operations (individual mesh, ...)
The problem is that i'm not able to retrieve the Mechanical.Body obj from the Wrapper, but it works in the inverse way (Mechanical.Body.GetGeoData()).
Is there a way to do this? Before trying with some filtering over the IDs.