This is a simple script to toggle on and off schematic element display for model names and IDs. Many times you know what the model is from the symbol and you don't want this extra information cluttering your schematic.
Below is an example with the full schematic display on:
Below is the display after the script is run.
If the script is run again, you are back to your original display.
Note: you will have to redraw the schematic (zoom in our out) to redraw to see the change.
There are two accompanying scripts, one will turn the display on and the other will turn the display off.