netDxf icon indicating copy to clipboard operation
netDxf copied to clipboard

Entities changes color (for some applications) after modification

Open Pietervdwest opened this issue 3 years ago • 1 comments

Hi, we have found that after we have added geometry to a dxf file, that some of the original geometry may change colour. What makes this very confusing is that this only affects some applications these dxf files are opened with. When the files are opened in AutoCAD it looks fine but when opened in Trumpf's TruTops application the profile colours have changed to green. Please see sample file that's causing this behaviour. Sorry for the bad quality video but as you can see some files have changed the colour of the outer profile to green. These are the files we have added extra lines to on a separate layer and with a different colour.

https://user-images.githubusercontent.com/43685291/106476152-69ae0a00-64af-11eb-810e-8edb00ebc5be.mp4

2021076-PL01_RVS304_2 mm-5WL_1st.zip

Pietervdwest avatar Feb 01 '21 15:02 Pietervdwest

From the DXF you have posted I do not see a reason why it changes its color. The entities associated with the layer "IV_OUTER_PROFILE" have a ByLayer color, so they should inherit the color associated to that layer, in your case an index 7 that in AutoCad corresponds to a white color. Check if in your Trumpf's TruTops application for any reason that index corresponds to a different color.

haplokuon avatar Feb 03 '21 18:02 haplokuon