Trying to control layers

I am trying to control the lines/elements coming from one Revit view to AutoCad using io.ExportAsDWG part of a WombatDynamo Package?

you can control the layers by editing this file

Location: C:\ProgramData\Autodesk\RVT2017 (change to the version of revit you use)

or go to Export Options in Revit