Page 1 of 1

Failed to load DWG file

Posted: 22 Oct 2009, 13:46
by Raoulvg
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

Re: Failed to load DWG file

Posted: 05 Nov 2009, 15:54
by support
Hello.
Could you please send one of these DWG files to support@cadsofttools.com?

Alexander.