Automatic rebar tag

Try first to fill all the inputs and see if these can help:
http://dictionary.dynamobim.com/#/Revit/Elements/Tag/Create/ByElement