so i have a project with 3 maps and layout, i have some code that exports the layout which uses two of the maps, the third map is used to select some features and then export it to a DXF file, this all works fine if the DXF map is selected before you run the code, if not it errors saying the DXF export can't find one of the layers
so how can i set the DXF export map as the code is ran
i've tried a few things but nothing works
m = aprx.listMaps('CAD_EXPORT')[0]
m.active()
m.enabled()thanks