Whenever I attempt to use AddLayer it gives me: Runtime error <type 'exceptions.AssertionError'>
This is what I've been using:
arcpy.mapping.AddLayer(MainDF, r"\\GEOGDATA\campusmapping\CampusWide\LayerFiles\CAD\Floor2\Casanova2", "BOTTOM")
Casanova2 is a .lyr file. I've also attempted to use this with a few other layer files. Every time it gives me an AssertionError.
Do you know what I'm doing wrong?