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.

_SelectAll

-Color

ByLayer

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