DWG Export
McGum
5/3/2018 6:21 AM
|
---|
Hi,
I have a Model with >140.000 Entitys and saving as DWG is nearly impossible (takes many minutes):
var writer = new DwgWriter(mstream, model) { AutoCloseStream = true };
writer.Write();
Can you fix?
Thanks,
Michael
|
Wout
5/3/2018 6:23 AM
|
---|
Oh wow, that's huge.
If you can send me the drawing somehow I will try profiling this. I don't expect I can make it significantly faster though.
- Wout
|
McGum
5/3/2018 6:40 AM
|
---|
sent :)
|
Wout
5/3/2018 11:21 AM
|
---|
I indeed found an inefficiency in the block/insert DWG writing for this drawing. I've rewritten that part and now CadLib writes the drawing in about 8 seconds on my machine. Please download the latest CadLib 4.0 version.
Thank you for the report!
- Wout
|
McGum
5/3/2018 2:27 PM
|
---|
Thanks Wout,
now it works fine :) (even with >500t entites ~25sec in debug ;) )
|
Wout
5/3/2018 2:33 PM
|
---|
Saves a lot of CO2!
- Wout
|