Get All Elements of category using API

Thanks for everything,

the main purpouse is to copy the rebars or (rebar container) from the first shaft to the other ones shown in the image below

So the goal of extracting the rebar category from the rebar container is to be able to use this parameter introduced in the script given by @Einar_Raknes in this discussion which talk about copying rebars from a beam to another…but it’s seem to me that it’s not an easy task getting this parameter from the rebar container, so I’ll start a new thread explaining the main issue.

Thanks.