Hi All,
I found some good examples on how to use these 2 entities with TsgDXFInsert and the TsgCADImage class (demos\CADExportDemo project). Do you have some examples on how to use these entities by means of TsgDXFExport ?
Thanks,
Alexander
Moderators: admin, SDS, support
var
line: TsgDXFLine;
Image: TsgCADImage;
vExp: TsgCADtoDXF;
begin
Image := TsgCADImage.Create;
Image.Converter.InitializeSections();
Image.CurrentLayout := Image.Layouts[0];
line := TsgDXFLine.Create();
line.Point := MakeFPoint(80, 100, 0);
line.Point1 := MakeFPoint(180, 200, 0);
line.Color := clBlue;
Image.Converter.Loads(line);
Image.Converter.OnCreate(line);
Image.CurrentLayout.AddEntity(line);
vExp := TsgCADtoDXF.Create(Image);
vExp.SaveToFile('d:\1.dxf');
Return to CADImportVCL + DXFExportVCL
Users browsing this forum: No registered users and 2 guests