OLE2FRAME Error in Draw method

Discuss and ask questions about CAD .NET library.

Moderators: SDS, support, admin

Post Reply
ShtormUp1
Posts: 1
Joined: 18 Jul 2014, 14:58

OLE2FRAME Error in Draw method

Post by ShtormUp1 » 18 Jul 2014, 15:38

I ran example EditorDemo
Open a dwg document that contains table OLE2FRAME
After scrolling scrollbar and scale changes got out the error window

Error in Draw method
at System.Drawing.Graphics.get_Clip()
at CADImport.CadGraphicsGDI.IsInViewVolume(CadEntity Ent)
at CADImport.CADEntity. (CADConverter, CADEntityProc, CADEntityProc)
at CADImport.CADCurvePolygon. (CADConverter, CADEntityProc, CADEntityProc)
at CADImport.CADGroup.Iterate(CADConverter AConverter .........

If I open document that not contains OLE2FRAME error does not occur

This error does not always appear, sometimes you need a few times to move the scrollbar or change the scale after error appears on the screen is not drawn region OLE2FRAME all other items are drawn

If I save the document as DXF frame disappears

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

Re: OLE2FRAME Error in Draw method

Post by support » 23 Jul 2014, 17:02

Hello,

Could you send the DWG file that contains OLE2FRAME to our Technical Support e-mail: support@cadsofttools.com for the purpose of testing?

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

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

Re: OLE2FRAME Error in Draw method

Post by support » 28 Jul 2014, 13:00

Hello,

We could reproduce the problem. The problem description has been added to our bug tracker, CAD Import .NET developers will check it soon.

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

Post Reply