Page 1 of 1

Resolving invalid XRef inside a DWG file

Posted: 10 Jan 2025, 17:29
by v.nemesin
Dear support,

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);
              }
 
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.

Re: Resolving invalid XRef inside a DWG file

Posted: 13 Jan 2025, 09:37
by support
Hello,

Thank you for contacting us.

To help you I need:

- The full title of the library version you're using,
- The file you're working with.

Please send this data to support@cadsofttools.com

Kind regards,

Irina