Page 1 of 1

Overlaying dxf files

Posted: 27 Oct 2006, 13:49
by AndyStephenson
Hi,

I would like to load a dxf image, then create an empty version of this dxf file and save it to disk.

The empty version of the dxf I want to load as an overlay to the original file. Very much like redlining, but I need to use lots of layers.

Is this possible with CADImportVCL?

Regards,

Andy

Posted: 27 Oct 2006, 18:04
by support
Hello Andy,

CADImportVCL (available on: http://www.cadsofttools.com/download/cadimportvcl.zip) contains such example in the demo application in the ..\cadimportvcl\Delphi\Demos\TextChange+Color2LineWeight\.. folder.
Please examine <b>procedure TForm1.sbMergingTestClick(Sender: TObject);</b>.
It shows how to add entities into the vCADFiles[0] or vCADFiles[1].
This line recalculates their extents: TsgDXFImage(vCADFiles[0]).GetExtents;

Sergey.

please post questions to the forum or write to support@cadsofttools.com