Resolving invalid XRef inside a DWG file

Discuss and ask questions about CAD .NET library.

Moderators: SDS, support, admin

Post Reply
v.nemesin
Posts: 1
Joined: 08 Nov 2024, 18:01

Resolving invalid XRef inside a DWG file

Post by v.nemesin » 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

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.

support
Posts: 3271
Joined: 30 Mar 2005, 11:36
Contact:

Re: Resolving invalid XRef inside a DWG file

Post by support » 13 Jan 2025, 09:37

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
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

Post Reply