-
Notifications
You must be signed in to change notification settings - Fork 405
DXF file modification/editing. #407
Comments
Yes, the the purpose of this library is being able to create, modify, and read DXF files. You just need to load your file, remove the entity, and save it again. |
Hi Haplokuon, thanks, |
I cannot tell you how to find a particular entity in the drawing you must know how to find it. You will have to decide if it has a particular color, if it is inside a unique layer, if it is by its geometry,...; although the most efficient way is by its handle. DxfObject o = doc.GetObjectByHandle("");
doc.Entities.Remove(o as EntityObject); |
thanks for the advice... it's constructive for my development. |
List allOuterContourEnts = DxfDoc.Entities.Polylines2D.Where(e => e.Layer.Name.Equals("0")).ToList(); |
Hi Haplokuon,
Is it possible to update, edit, or alter the DXF file data using netDxf ?
I want to select a particular Polyline and wish to delete that polyline from the selected DXF file.
thanks,
Rahul Pardeshi.
The text was updated successfully, but these errors were encountered: