DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

weird dxf recolor problem

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

Previous topic - Next topic

0 Members and 0 Guests 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