DXF Import to part - Layer Filter

I am trying to write a macro to duplicate what can be donewith imprt dialog boxes - ie turn of mu;tiple lays and import theDXF into a part sketch.

I can't find any documentation as to how this can be done - anyideas?

There is an example in the API Help which shows how to import a DXFinto a sketch, but it does not include any layer managment.

I'm trying to import PCB geometry without any of the extra info inthe file from teh PADS output, the info I want is always on thesame 2 layers.SolidworksApi macros