I'm having difficulty writing a script that deletes all of the symbols in the document (as opposed to just breaking links or expanding which I apparently cannot do).
app.sourceDocument.symbols.removeAll();
When it reaches a symbol that's used in the document somewhere it spits out this error:
Error 1200: an Illustrator error occurred: 1346458189 ('MRAP')