How to hide part names and values in EAGLE via ULP script
The reserved attributes NAME/VALUE cannot be modified with the ATTRIBUTE command.

When the part is smashed, name and value behave somewhat like independent objects. So you can simply delete them:

DELETE DC101&gt;NAME;