Can I use iterator for the same? Then which one- feature selection?
Are you iterating featureclasses?
http://pro.arcgis.com/en/pro-app/tool-reference/modelbuilder-toolbox/iterate-feature-classes.htm
or what are you using as input into your model?
You could always do one manually, then get the script sample from the Results (Geoprocessing results) to form the basis for a script