Search found 10 matches

by Luis
02 Dec 2013, 16:53
Forum: CAD .NET
Topic: Solid 3D View
Replies: 6
Views: 30733

Re: Solid 3D View

Hello Mikhail, thanks for your reply. When I try to rotate the view in SEIsometric Direction, cadImage doesn't rotate. This is my code: cadImage.RotToView(CADViewDirection.SEIsometric); this.Orb3D.OnRotate(); cadPictureBox1.Invalidate(); The same code is good when drawgraphicmode is GDIPlus. Luis
by Luis
26 Nov 2013, 15:48
Forum: CAD .NET
Topic: Out of Memory
Replies: 8
Views: 38066

Re: Out of Memory

Hello Mikhail,

I use your code in this and others post to add or dispose xRef in my CADImage.

I have the following problem: when I dispose added XRef, the system does not release the memory occupied by the same xref. How can I solve this problem?

Thanks,

Luis
by Luis
20 Nov 2013, 13:10
Forum: CAD .NET
Topic: Out of Memory
Replies: 8
Views: 38066

Re: Out of Memory

Thanks for your help.

Luis
by Luis
13 Nov 2013, 12:20
Forum: CAD .NET
Topic: Out of Memory
Replies: 8
Views: 38066

Re: Out of Memory

Hello,

I can dispose the XRef by mouse events, but I can not load an xref and make it visible from the code.

Can you show me an example?

Thanks,

Luis
by Luis
12 Nov 2013, 15:00
Forum: CAD .NET
Topic: Solid 3D View
Replies: 6
Views: 30733

Re: Solid 3D View

Hello,

I still have the same problem.

I set in my code the Graphic Mode as OpenGL and the RenderMode as Solid, but the view is Wireframe.

I have followed all the steps of DemoViewer's code.

Can you help me?

Thanks,

Luis
by Luis
11 Nov 2013, 18:05
Forum: CAD .NET
Topic: Out of Memory
Replies: 8
Views: 38066

Re: Out of Memory

Hello,

to avoid the problem illustrated in the previous post, I decided to create file dwg with xref.

Can I upload and make visible the xref from a code after mouse events?

Thanks,

Luis
by Luis
08 Nov 2013, 13:14
Forum: CAD .NET
Topic: Out of Memory
Replies: 8
Views: 38066

Re: Out of Memory

Hello, thanks for your answer. I cannot sent you the file because it is a confidential file of my customer, but the problem is replicable when you try to upload 6 files each of 10 MB. I have continued to investigate the problem and I noticed that it occurs primarily when I try to save the various en...
by Luis
07 Nov 2013, 19:21
Forum: CAD .NET
Topic: Out of Memory
Replies: 8
Views: 38066

Out of Memory

Hi,

I have a problem with a multiple load of CAD files with CAImportNet.dll

I load some CAD files in my application.

At the loading of one of these, the system goes into exception of "out of memory" but the physical memory is available.

Is there a limit in the use of libraries?

Thanks.
by Luis
25 Oct 2013, 17:40
Forum: CAD .NET
Topic: Solid 3D View
Replies: 6
Views: 30733

Re: Solid 3D View

Hello, in Demo Viewer the visualization is corrected and I tried to do the same. This is the involved part of my code: " DrawGraphicsMode graphicsMode; CadPictureBox cadPictureBox; RenderMode renderMode; CadImage cadImage; graphicsMode = DrawGraphicsMode.OpenGL; cadPictureBox.Set3DStyle(); renderMod...
by Luis
25 Oct 2013, 16:59
Forum: CAD .NET
Topic: Solid 3D View
Replies: 6
Views: 30733

Solid 3D View

Hello, I used CADImport.NET in my C# application. I have a drawing in a CADPictureBox. I want to visualize the drawing in a 3D View. In the CAD file there are polylines with nonzero thickness. I set graphicsMode as OpenGL and RenderMode as Solid and then I imposed SEIsometric View but my application...