weird dxf recolor problem

Started by Juergen, November 29, 2014, 07:53:18 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Juergen

Some (imported) dxf can only recolored by exploding them before applying color.
This code works fine:

            If DcEnt.EntityType = 300 Or DcEnt.EntityType = 402 Then
                DcSel = DcDoc.Selection
                DcSel.ExplodedSymbolLayer = 4
                DcSel.Explode()
                DcSel.ApplyColor()
            End If

For reasons I don't know DC will crash with each third recolored dxf. This happens
with all versions 21-23.

Thanks for any advice.

Kind regards,
Juergen