@BIM_Croatia,
Please show some of your effort. Thanks.
You can start with this:
- Select the elements.
- Collect the Structural Rebars.
- Iterate trough the selected elements and get the Id.
- Iterate trough the Structural Rebars and get the Host Id:
GetHostId Method
- Compare the matching ids and get the corresponding element.
Regards,