Draftsight - Select All , change color (Script)

I am trying to create a script that Selects All entities and changes the color.  Most of my DXF files have the entities set to Color - White on the 0 layer.  I want the color to be set to ByLayer.

<p>_SelectAll</p><p>-Color</p><p>ByLayer</p>

Does not work.  If I window around the entities with my mouse, then use the drop-down to "ByLayer", then it works.

SolidworksDrawings And Detailing
Answers 2
SF
SF 2012-04-24 Best Answer

Chris,

You would probably get more responses in the API Forum.

Jerry Steiger

DJ
DJ 2016-10-07

use

modify

all

p

la

layer1