Method not to change Handle Value
Moderators: SDS, support, admin
Method not to change Handle Value
Hello.
I save it after I read DXF and edit it.
Is there the method of not to change a entitiy's handle Value?
Best wishes.
R.Hayami
I save it after I read DXF and edit it.
Is there the method of not to change a entitiy's handle Value?
Code: Select all
private
FCadImage: TsgCadImage;
FDNavigator: TsgDrawingNavigator;
//abbreviation
procedure LoadDxfFile(FileName: String);
begin
FDNavigator.LoadFromFile(FileName); // 'test.dxf' etc..
FCadImage := TsgCADImage(FDNavigator.Picture.Graphic);
end;
//abbreviation
procedure SaveDxfFile(FileName: String);
var
c2d: TsgCADtoDXF;
begin
c2d := TsgCADtoDXF.Create(FCadImage);
c2d.SaveToFile(FileName); // save
c2d.Free;
end;
R.Hayami
Re: Method not to change Handle Value
Hello.
Handles of entities on imported drawing doesn't changed while working with the drawing. Entities will be saved with the same handles values they were imported. Handels of created entities meet AutoCAD standards.
Alexander.
Handles of entities on imported drawing doesn't changed while working with the drawing. Entities will be saved with the same handles values they were imported. Handels of created entities meet AutoCAD standards.
Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
Re: Method not to change Handle Value
Thanks for your cooperation.
R.Hayami
R.Hayami