Extracting Collision Data Between Specific Particles and Geometry using EDEMpy
Dear EDEM Developers and Users,
I am currently working with EDEMpy to extract collision data between a specific type of particle and a particular imported CAD geometry. I am able to achieve this using the EDEM Windows interface, but I am having trouble replicating the same results using EDEMpy.
Current Process in EDEM Windows Interface:
In the EDEM Windows interface (as shown in the first figure below), I can extract collisions between particles of type 1 (e.g., "d=40cm") and geometry type 2 (e.g., "Excavation bucket") by selecting the relevant types in the collision settings. This successfully generates a .csv file with collision data, where, at time = 10s, no collisions are recorded (as shown in the second figure).


I am attempting to extract the same collision data programmatically using EDEMpy, but the result does not match what I see in the Windows interface. Below is the code I am using:
collisions = deck.timestep[step_at_10s].collision.surfGeom # Get collisions between particles and geometry
collisions_ids1 = collisions.getFirstIds() # Particle IDs in collision
collisions_ids2 = collisions.getSecondIds() # Geometry IDs in collision
At time = 10s, the collisions_ids1 and collisions_ids2 variables both contain 232 rows, indicating that multiple geometry collisions are being captured, not just the specific geometry I am interested in.

I suspect that this issue arises because the geometry ID is not specified, leading to collisions being exported between particles and multiple geometries rather than just the specific geometry (e.g., "Excavation bucket").
How can I filter the collisions to only show those between the particles of type 1 and the specific geometry ("Excavation bucket") using EDEMpy?