Rebar and its host elements

@BIM_Croatia,

Please show some of your effort. Thanks.

You can start with this:

  1. Select the elements.
  2. Collect the Structural Rebars.
  3. Iterate trough the selected elements and get the Id.
  4. Iterate trough the Structural Rebars and get the Host Id:
    GetHostId Method
  5. Compare the matching ids and get the corresponding element.

Regards,