Community
Same problem here. Such an old thread I imagine there was a solution somewhere...
I would switch to the newer (setpropertyvalue) world [which didn't exist when this topic began], in which the Tag of an Attribute constitutes a "property" of the Block insertion:
(setpropertyvalue BlockEntityName "TagName" "NewValue")
Can't find what you're looking for? Ask the community or share your knowledge.