Author Topic: weird dxf recolor problem  (Read 575 times)

Juergen

  • Jr. Member
  • **
  • Posts: 94
weird dxf recolor problem
« on: November 29, 2014, 07:53:18 AM »
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
« Last Edit: November 30, 2014, 01:33:26 AM by Juergen »