Search found 4 matches

by Alsk
03 Nov 2009, 17:46
Forum: CAD VCL
Topic: DXFExportVCL : how to export "multi Layers" DXF ?
Replies: 9
Views: 42834

Re: DXFExportVCL : how to export

It seems that there is a misapprehension here. I use it already, and that works fine, thanks. Just would like to use it easier from the very beginning, because it is implementable. Consider your modified source where all the details of work with several metafiles are incapsulated function TsgDXFExpo...
by Alsk
29 Oct 2009, 16:23
Forum: CAD VCL
Topic: DXFExportVCL : how to export "multi Layers" DXF ?
Replies: 9
Views: 42834

Re: DXFExportVCL : how to export

Well, since this wrong method is the most obvious one that a new user who don't read manuals will start with, I can't think of reasons why you don't implement it. Judging by your source code, it should be easy to create a separate metafile for every layer inside TsgDXFExport itself and to return app...
by Alsk
26 Oct 2009, 16:39
Forum: CAD VCL
Topic: DXFExportVCL : how to export "multi Layers" DXF ?
Replies: 9
Views: 42834

Re: DXFExportVCL : how to export

...workarounds that allow to export layers with TsgDXFExport without switching to "direct" export? If someone wonder, my current solution is to draw every layer on a separate TMetafile and then to load all metafiles in TsgDXFExport changing CurrentLayer every time before loading. Works well since L...
by Alsk
23 Oct 2009, 15:53
Forum: CAD VCL
Topic: DXFExportVCL : how to export "multi Layers" DXF ?
Replies: 9
Views: 42834

Re: DXFExportVCL : how to export

DXF.CurrentLayer := TsgExpDXFLayer.Create('Sample 1'); DXF.Canvas.Polyline(SomePoints, gmPixels); DXF.CurrentLayer := TsgExpDXFLayer.Create('Sample 2'); DXF.Canvas.Polyline(SomePoints, gmPixels); In order to reuse a big piece of code, I want to export dxf via metafile and I'd like to use exactly th...