Hi Yves, Inspectors cannot do that at this moment. You will probably need to use a tracker to inspect this on the host. You can try doing it less frequently to save time.
I do have plans to add custom query functionalities to allow that. It is going to take some time. Ruochun On Friday, February 23, 2024 at 1:09:20 AM UTC+8 [email protected] wrote: > Hello, > > I would like to know how I could add an inspector in DEM-Engine that would > return the ID of the clump instead of the value itself. For instance, while > CreateInspector("clump_max_z") would return the maximum z value for all > clumps, I would like to get the ID of the clump which has the maximum z, or > even the object itself, for further manipulation. > > I am open to other ideas which would not require to extract each position > in Python separately, which seems inefficient. > > Thank you! > -- You received this message because you are subscribed to the Google Groups "ProjectChrono" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/5335464f-5ddf-4a85-972c-85d94f93f44bn%40googlegroups.com.
