Change lines weight for DWG/DXF

How to change lines weight for DWG/DXF

Issue: How to change lines weight for DWG/DXF.

Tips: You can use the LineWeight property on entities or layers to do this.

Example:

using CadImage cadImage = (CadImage)Image.Load(fileName);
foreach (var entity in cadImage.Entities)
{
entity.LineWeight = 0;
}
foreach (Aspose.CAD.FileFormats.Cad.CadTables.CadLayerTable layer in cadImage.Layers)
{
layer.LineWeight = 0;
}