Get Element ids of Removed area reinforcement

I have a script where I remove Area Reinforcement using Dynamo. But how can I get the id of these separated rebar sets to continue and change their parameters?

I appreciate any help.

Hi there, I’m having trouble understanding your objective. Could you please provide more information and possibly a screenshot of your Dynamo graph? This will help clarify your issue