Failed to load DWG file

Discuss and ask questions about CAD .NET library.

Moderators: SDS, support, admin

Post Reply
Raoulvg
Posts: 5
Joined: 22 Jun 2009, 17:05

Failed to load DWG file

Post by Raoulvg » 22 Oct 2009, 13:46

Hi,

I'm having trouble to load some of my DWG files.
When the application is trying to loadfile it's like the cadimporter7 dll says there is nothing to load from the file and its the drawing is not empty.
Allot of DWG do work but here is my code how i load the file's in the memory.

Code: Select all

    
     Friend Property cadImageFld() As CADImage
        Get
            Return Me.Image
        End Get
        Set(ByVal value As CADImage)
            Me.Image = value
        End Set
    End Property

   Private Sub LoadFile(ByVal FilePath As String)
            cadImageFld = New CADImage
            cadImageFld = CADImage.CreateImageByExtension(FilePath)

            If (Not cadImageFld Is Nothing) Then
                If CADConst.IsWebPath(FilePath) Then
                    cadImageFld.LoadFromWeb(FilePath)
                Else
                    cadImageFld.LoadFromFile(FilePath)
                End If
             End If
 End sub
Greetings,
Raoul

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

Re: Failed to load DWG file

Post by support » 05 Nov 2009, 15:54

Hello.
Could you please send one of these DWG files to support@cadsofttools.com?

Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

Post Reply