cart: empty [ Login ]

Empty SAT\SAB stream

1 
McGum
5/4/2021 7:33 AM

Hi, try to use a exisiting DWG, and then inserting some stuff and then write and get the this error: Empty SAT\SAB stream bei WW.Cad.Model.Entities.DxfModelerGeometry.( , Boolean ) bei WW.Cad.Model.Entities.DxfModelerGeometry.get_SabStreamFromSAT() bei WW.Cad.Model.DxfModel.( ,  , List`1 , DxfEntity ) bei WW.Cad.Model.DxfModel.() bei

Wout
5/11/2021 10:34 AM

Hi, Can you post the code to reproduce the issue? I can open the file without problem. - Wout

McGum
4/24/2023 9:21 AM

Late but not to late :) DWG as mail (to large) Code:

C# Code:
var model = DwgReader.Read(importFile); var mstream = new MemoryStream(); var writer = new DwgWriter(mstream, model) { AutoCloseStream = true }; writer.Write(false);

Wout
4/24/2023 1:52 PM

Hi, Problem should be fixed now, please download the latest version. Thank you for the report! - Wout

1