Search found 2 matches
- 14 Mar 2018, 10:09
- Forum: CAD VCL
- Topic: Change TsgDXFText.Text and save to DXF/DWG
- Replies: 7
- Views: 25391
Re: Change TsgDXFText.Text and save to DXF/DWG
This part is for loading the existing Dxf. CADImage procedure TfmMain.Load1Click(Sender: TObject); begin DNavigator.LoadFromFile('c:\temp\Input.dxf'; end; CADImage is a property, resulting DNavigator.Picture.Graphic as TsgCadImage... This part is for iterating through all entities. procedure TfmMain...
- 13 Mar 2018, 16:57
- Forum: CAD VCL
- Topic: Change TsgDXFText.Text and save to DXF/DWG
- Replies: 7
- Views: 25391
Change TsgDXFText.Text and save to DXF/DWG
Hi, I have existing DWG/DXF-Files with thousands of sgDXFText-Entities, that Need to be renamed and save a copy of the original DXF/DWG. I use Converter.Iterate to find all sgDXFText-Entities in all layers. When finding a valid sgDXFText I do following: TsgDXFText(Entity).Text:= 'NEWTEXT'; TsgCADIma...