I wish I could get away with not using nested xrefs, but unfortunately, when an architects drafter or some other discipline sends us drawings, nine times out of ten, there are xrefs within xrefs within xrefs. Most of the time I mearly use these to overlay my drawing and take the time to sketch what they have so I don't have to fight their drawings. but then, my fellow drafters use their drawings for "simplicity & time" in putting our drawings together. It's the changes & re-editing that's the killer.
So, the most we have in our drawings is an xref'ed title block and gridlines (depending on the project size). We BIND our drawings when sending them to the architect or other discipline, which brought me to this topic. Not very often, but on occasion we have a nested xref & unreferenced image(s) which crashes the LiSP.
Ooops, (what a monolog
)
Anyway, ok, I understand the referenced vs unreferenced with blocks & xrefs. And Images for that matter. I'm just not understanding the correlation of the connection. I know the image isn't a raster so it has to be connected differently than a block, but how it's connected is a mystery.
To see if an xref/image is 'referenced' you will need to search the database (layouts) and see if those objects have been inserted anywhere. If you are checking in the current drawing, then you can use (ssget "x" .... ) to see, if you want to use ObjectDBX to check this stuff out, then you will have to search through the definition of the layouts (their block definition).
Ok, so I want to check the current drawing as you mentioned, (I'm assuming that by checking the current drawing, it will also check the layout tabs ??) for both a nested xref and an unreferenced image. As I mentioned in my monolog, there are xrefs that we use, but there are others from other disciplines caught in the drawing as well. Therefore, I can't search for it by name, but I have to at least be alerted to the fact that I have a nested xref in the drawing, referenced or unreferenced. If I list ALL the xrefs, then that defeats the purpose of the BIND, so I need to list only those xrefs that are nested or tier two or deeper. So I'm not sure that I need to ObjectDBX to check them out, I just want to know that they are there .??
With the Images, it's appearing that the only way to automatically detach them is to know their name ?? I don't care about the images, if they are there, great, they get bound with the drawing when running the BIND command. But if they are unreferenced, then the BIND crashes. I want to simply detach them, I don't care what their name is or where they came from, just detach if they are unreferenced.
Ok, I think you lost me there, I'm sort of understanding your explanation, but I'm not seeing what's right under my nose.
I thank you for your patience though, and anyone who can help knock this into my thick skull, please bring in your expertise as well, I could use a swift kick in the head.