@Thomas
Good to hear your integration goes smoothly. Here a situation with line weights:
Displaying of lineweights in Autocad is subjective. Showing of them is controlled by LWDISPLAY command, which is saved in the header of the file.
Lineweight thickness view in Autocad is controlled with LWEIGHT command and “Adjust display scale” bar in it. It is not stored in file and we do not know from the drawing what is this display scale coefficient.
So, we can not scale lineweight exactly like Autocad. We can rely only on the lineweight numerical values and we always apply them in drawing. For instance, the lineweight of the purple color in this file (HOLZ + GLAS layer) is 0.3 mm, and the default value (thin lines) is 0.25, the difference is not so sufficient, like it is shown in Autocad due to this “Display scale” option.
But you can adjust line weights manually with such code example before the export to make lines showing thicker:
foreach (CadLayerTable layer in cadImage.Layers)
{
System.Console.WriteLine(layer.Name + " " + layer.LineWeight);
// -3 means default linewidth set by LWDEFAULT, may be processed separately
if (layer.LineWeight > 0)
{
layer.LineWeight *= 5;
}
}
Please contact us if you have ay other questions.