Slow behavior when loading a specific DWG
Moderators: SDS, support, admin
Slow behavior when loading a specific DWG
By the way I was fully successful and I'm totally happy after porting my code to CAD.NET coming from the former used CADDLL. As expected: the port solved almost all problems I had with the old CADDLL. Just one thing remained: I experienced a slow loading behavior with one specific DWG file - this applies to CADDLL *and* CAD.NET. That file weighs approx. 0,5Mb in size and needs ~10secs to load (via LoadFromStream()) - IMHO surprisingly long loading time...
It feels that a entity type "DWGPolyline" named "." ("\u000f.\u0003\u0015") (unicode?)
has something to do with it. I do not draw this entity and inspite of this there's nothing in the image absent but it seems to slow down loading significantly.
Is it possible to speed up the loading?
Best regards,
Thomas
It feels that a entity type "DWGPolyline" named "." ("\u000f.\u0003\u0015") (unicode?)
has something to do with it. I do not draw this entity and inspite of this there's nothing in the image absent but it seems to slow down loading significantly.
Is it possible to speed up the loading?
Best regards,
Thomas
Re: Slow behavior when loading a specific DWG
Hello Thomas,
Please send the DWG file which, in your opinion, loads slowly to the Technical Support e-mail, we will test it.
As for the DWGPolyline entity type, a corresponding entity class is internal and not accessible through the CAD .NET API. You should cast CADEntity type to CADPolyLine when reading DWGPolyline entities.
Mikhail
Please send the DWG file which, in your opinion, loads slowly to the Technical Support e-mail, we will test it.
As for the DWGPolyline entity type, a corresponding entity class is internal and not accessible through the CAD .NET API. You should cast CADEntity type to CADPolyLine when reading DWGPolyline entities.
Mikhail
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support