Bug related to XREF images
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I may have uncovered a bug. This one took me a while to find because I thought it was something I had done wrong at one point and then I just carried it from project to project as I copy/pasted folders...but that wasn't it.
For reference, I do MEP drafting. I set up the architectural background CAD file as an XREF in my base file as well as my title blocks. I also XREF in a few images, one being my logo (PNG), and the other being a screenshot of a map for the cover page (JPG). Also, the logo PNG file is an XREF in both the base file and the title block (same image is used on the title block and cover page) - not sure if that matters, just fully disclosing as I describe the bug. The map image is only an XREF of the base file.
When I start a new project, I use a similar project as a baseline - I copy/paste the folder, change the names, etc. Then I open the file and update the job name/etc on the title block. There are 2 ways to do this:
1) highlight the title block and then click "open reference" on the toolbar. This works fine and doesn't reveal/cause the bug. Same as opening the XREF'd file directly from Windows Explorer.
2) double-click the title block and perform a reference edit. I use this a occasionally to update something like the revision history, revision number, etc. It's a convenient way to do it, but this is the one that reveals the bug.
What happens in case #2 above when I have a JPG attached to the base file is that once I'm done with my reference edits and save the changes, it attaches the same JPG to the XREF title block file. I discovered this because every time I copy/paste the folders for a new project, I delete the map image since it does not apply to the new project and then delete the XREF in the base file - but it shows up in the XREF list as ALSO being attached to the title block XREF. I thought I was just carrying on an error over and over again, but then I decided to troubleshoot it and this is how I figured it out.
After I do the reference edit, I can then close my drawing and open the title block file by itself and the map image XREF is now attached to the title block XREF (but in all cases, the image itself is not inserted).
Why would performing a reference edit cause one XREF to attach to another XREF? This makes zero sense and HAS to be a bug.