1) Open X REFS and delete building shell and site background REF. Then Bind all
Bind all xrefs can be accomplished as command in a Script file like this::
-XREF _Bind *
But may not be possible to open the xrefs and identifying those objects to delete
2) We need to Turn off and freeze certain layers. These layers are usually same on all dwgs and they have to freeze and be turned off. Some of these layers have text in them and the others have polygons.
This also can be done as commands in a script file. For example to turn off & freeze layer names: A-BLD-TXT, A-BLD-DIM then the command is:
-LAYER _Set 0 _Off A-BLD-TXT, A-BLD-DIM _F A-BLD-TXT, A-BLD-DIM
Make sure you have an additional empty line following above command in script to to complete command
3) Moving on to certain blocks. These blocks have gates and its annotations. We want to explode the block and delete the extra annotations and text. As a result we will be left with the gate only. Creating it into a block again is not required.
This might be possible to script assuming the Block name is always the same but you'll have to provide examples of the Block to see what those annotations/texts are made of.