Page 1 of 1

OLE2FRAME Error in Draw method

Posted: 18 Jul 2014, 15:38
by ShtormUp1
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

Re: OLE2FRAME Error in Draw method

Posted: 23 Jul 2014, 17:02
by support
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

Re: OLE2FRAME Error in Draw method

Posted: 28 Jul 2014, 13:00
by support
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