Resolving invalid XRef inside a DWG file
Posted: 10 Jan 2025, 17:29
Dear support,
I have an issue with XRefs llinks inside a DWG file. I use the following code to open a DWG file
It reads the current file but fails to read the XREF files because the XRefs are not valid (they contain the absolute paths of the client file, which is different of the paths on my computer.
I'd like to know if it is possible to override XRef path resolving to get the right path and to have the method to do it.
Thank you in advance for your help.
I have an issue with XRefs llinks inside a DWG file. I use the following code to open a DWG file
Code: Select all
using (DWGImage dWGImage = new DWGImage())
{
// Lecture du fichier DWG
dWGImage.LoadFromFile(config.DwgFilePath);
}
I'd like to know if it is possible to override XRef path resolving to get the right path and to have the method to do it.
Thank you in advance for your help.