
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
So, I was messing around with XREF's relative paths and found a weird behavior, I'd like to know if it's acting as expected, or if its indeed a bug;
I have a directory with a depth of 3 folders, as the image attached shows
I have a .dwt file in the "2- Vertical alignment" folder that has an XREF in it, the XREF path is inside the 1- Templates folder, and I used the following relative path: "..\..\1- Templates\XREF.dwg", this behaves as expected since it "jumps up" two folders (In this case, up to the "Example" folder), then looks for the folder named "1- Templates" and proceeds to XREF the file in it named XREF.dwg.
The odd behavior starts when I moved the .dwt file to the same folder where the XREF.dwg file is (Which is, the "1- Templates" folder), I was expecting the XREF to break, but it didn't, though it doesn't make sense that it didn't since the relative path is still "..\..\1- Templates\XREF.dwg", which in this new case, it should "jump up" 2 directories, then try to find the "1- Templates" folder, which there isn't any, yet it finds the correct file (It even shows the correct location in the found file path).
Even if it's actually working, it worries me that I think that it shouldn't, this makes me think that sometimes thing will go the other way, and won't work when they actually should.
Thanks in advance!
Solved! Go to Solution.