I've been working on a short script to save down ABS drawings into 2000 format, including the explosion on all AEC objects using the -AecObjExplode command. My question is, do you know of any method to test for the existance of attached xrefs in a drawing? The problem I'm having is the prompts change in -AecObjExplode depending on if xrefs are attached, breaking the script. If I could test for the presense of attached xrefs before hand, I could just use a conditional statement. Anyone have any ideas? -Chris Thus far: (command "tilemode" "1") (command "_-AecObjExplode" "yes" "all" "no" "no" "yes" "yes" "yes" "yes" "31" "no" "yes") (command "tilemode" "0") scr-saveas-2000