Overlaying dxf files

Discuss and ask questions about CAD VCL (Delphi and C++ Builder).

Moderators: SDS, support, admin

Post Reply
AndyStephenson
Posts: 8
Joined: 10 Oct 2006, 12:08
Location: United Kingdom

Overlaying dxf files

Post by AndyStephenson » 27 Oct 2006, 13:49

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

support
Posts: 3272
Joined: 30 Mar 2005, 11:36
Contact:

Post by support » 27 Oct 2006, 18:04

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

Post Reply