CADImport.NET Issue loading Drawings
Moderators: SDS, support, admin
CADImport.NET Issue loading Drawings
I have a customer who is looking to purchase the CADImport.NET product so that I can integrate their production system and quality system to allow users to view Autocad drawings on the production line. So I will be using the software to develop an application to only view these drawings. I have been using the demo version of CADImport.Net to try and get an understanding of what is invloved. Please bare in mind that most of the DWG files have linked JPG's that also exists in the same directory as the drawings. I have written the following code in vb.net.
Dim cadImage As CADImage
Dim cadPictBox As CADImport.CADImportControls.CADViewerControl
cadImage = cadImage.CreateImageByExtension("C:\Drawings\RAP121.DWG")
cadImage.LoadFromFile("C:\Drawings\RAP121.DWG")
cadPictBox = New CADImport.CADImportControls.CADViewerControl
cadPictBox.Dock = DockStyle.Fill
cadPictBox.Enabled = True
cadPictBox.Visible = True
cadPictBox.Image = cadImage
cadPictBox.ToolsPanelVisible = True
cadPictBox.EntityTreeVisible = False
cadPictBox.EntityPropertyGridVisible = False
cadPictBox.LayoutsPanelVisible = False
cadPictBox.DimensionVisible = True
cadPictBox.DoResize()
My issue is this, when the drawings load they display but are missing parts of the drawing including the linked JPG's. The drawing is also small and positioned in the to left of the CADViewerControl. When I use the CADViewerControl's load file on the tool bar and load the exact same DWG, the linked JPG's are now in the drawing and the drawing is sized to fit the screen, what code do I need to acheive the same outcome.
Any help would be greatly appreciated.
Robert Glass
Dim cadImage As CADImage
Dim cadPictBox As CADImport.CADImportControls.CADViewerControl
cadImage = cadImage.CreateImageByExtension("C:\Drawings\RAP121.DWG")
cadImage.LoadFromFile("C:\Drawings\RAP121.DWG")
cadPictBox = New CADImport.CADImportControls.CADViewerControl
cadPictBox.Dock = DockStyle.Fill
cadPictBox.Enabled = True
cadPictBox.Visible = True
cadPictBox.Image = cadImage
cadPictBox.ToolsPanelVisible = True
cadPictBox.EntityTreeVisible = False
cadPictBox.EntityPropertyGridVisible = False
cadPictBox.LayoutsPanelVisible = False
cadPictBox.DimensionVisible = True
cadPictBox.DoResize()
My issue is this, when the drawings load they display but are missing parts of the drawing including the linked JPG's. The drawing is also small and positioned in the to left of the CADViewerControl. When I use the CADViewerControl's load file on the tool bar and load the exact same DWG, the linked JPG's are now in the drawing and the drawing is sized to fit the screen, what code do I need to acheive the same outcome.
Any help would be greatly appreciated.
Robert Glass
Re: CADImport.NET Issue loading Drawings
Hello Robert,
We will answer you soon.
Sergey.
We will answer you soon.
Sergey.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
Re: CADImport.NET Issue loading Drawings
I look forward to your response.
Also can you give me some idea of the licensing costs. This customer currently has 17 computers on the factory floor, each will be running the application I am developing.
Also can you give me some idea of the licensing costs. This customer currently has 17 computers on the factory floor, each will be running the application I am developing.
Re: CADImport.NET Issue loading Drawings
Hello Robert,
We recommend to use the following way:
Sergey.
We recommend to use the following way:
Code: Select all
cadPictBox.LoadFile("C:\Drawings\RAP121.DWG")
It depends on the version you need. Please contact our Sales Dept (sales@cadsofttools.com) to discuss this question more precise.Also can you give me some idea of the licensing costs. This customer currently has 17 computers on the factory floor, each will be running the application I am developing.
Sergey.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support